@@ -526,7 +526,7 @@ jobs:
526526
527527 - name : Check the version
528528 run : |
529- if [[ "${{ steps.terraform-version.outputs.terraform }}" != *"1.8 "* ]]; then
529+ if [[ "${{ steps.terraform-version.outputs.terraform }}" != *"1.9 "* ]]; then
530530 echo "::error:: Latest version was not used"
531531 exit 1
532532 fi
@@ -627,55 +627,55 @@ jobs:
627627 exit 1
628628 fi
629629
630- arm64 :
631- runs-on : buildjet-2vcpu-ubuntu-2204-arm
632- name : Version detection on arm
633- steps :
634- - name : Checkout
635- uses : actions/checkout@v4
636-
637- - name : Version unsupported on arm
638- uses : ./terraform-version
639- continue-on-error : true
640- id : arm-unsupported
641- env :
642- TERRAFORM_VERSION : 0.12.0
643- with :
644- path : tests/workflows/test-version/empty
645-
646- - name : Check failed to download unsupported platform
647- run : |
648- if [[ "${{ steps.arm-unsupported.outcome }}" != "failure" ]]; then
649- echo "Did not fail correctly"
650- exit 1
651- fi
652-
653- - name : Version doesn't exist
654- uses : ./terraform-version
655- continue-on-error : true
656- id : no-such-version
657- with :
658- path : tests/workflows/test-version/nosuchversion
659-
660- - name : Check failed to download no such version
661- run : |
662- if [[ "${{ steps.no-such-version.outcome }}" != "failure" ]]; then
663- echo "Did not fail correctly"
664- exit 1
665- fi
666-
667- - name : Test terraform-version
668- uses : ./terraform-version
669- id : terraform-version
670- with :
671- path : tests/workflows/test-version/tfswitch
672-
673- - name : Check the version
674- run : |
675- if [[ "${{ steps.terraform-version.outputs.terraform }}" != "1.1.0" ]]; then
676- echo "::error:: Terraform version not set from .tfswitchrc"
677- exit 1
678- fi
630+ # arm64:
631+ # runs-on: buildjet-2vcpu-ubuntu-2204-arm
632+ # name: Version detection on arm
633+ # steps:
634+ # - name: Checkout
635+ # uses: actions/checkout@v4
636+ #
637+ # - name: Version unsupported on arm
638+ # uses: ./terraform-version
639+ # continue-on-error: true
640+ # id: arm-unsupported
641+ # env:
642+ # TERRAFORM_VERSION: 0.12.0
643+ # with:
644+ # path: tests/workflows/test-version/empty
645+ #
646+ # - name: Check failed to download unsupported platform
647+ # run: |
648+ # if [[ "${{ steps.arm-unsupported.outcome }}" != "failure" ]]; then
649+ # echo "Did not fail correctly"
650+ # exit 1
651+ # fi
652+ #
653+ # - name: Version doesn't exist
654+ # uses: ./terraform-version
655+ # continue-on-error: true
656+ # id: no-such-version
657+ # with:
658+ # path: tests/workflows/test-version/nosuchversion
659+ #
660+ # - name: Check failed to download no such version
661+ # run: |
662+ # if [[ "${{ steps.no-such-version.outcome }}" != "failure" ]]; then
663+ # echo "Did not fail correctly"
664+ # exit 1
665+ # fi
666+ #
667+ # - name: Test terraform-version
668+ # uses: ./terraform-version
669+ # id: terraform-version
670+ # with:
671+ # path: tests/workflows/test-version/tfswitch
672+ #
673+ # - name: Check the version
674+ # run: |
675+ # if [[ "${{ steps.terraform-version.outputs.terraform }}" != "1.1.0" ]]; then
676+ # echo "::error:: Terraform version not set from .tfswitchrc"
677+ # exit 1
678+ # fi
679679
680680 terraform_opentofu_version :
681681 runs-on : ubuntu-latest
@@ -740,6 +740,8 @@ jobs:
740740 opentofu_version_pre_release_nosig :
741741 runs-on : ubuntu-latest
742742 name : OPENTOFU_VERSION pre-release with tofu action
743+ env :
744+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
743745 steps :
744746 - name : Checkout
745747 uses : actions/checkout@v4
@@ -770,6 +772,8 @@ jobs:
770772 opentofu_old_version :
771773 runs-on : ubuntu-latest
772774 name : Prefer OpenTofu, but only Terraform matches constraints
775+ env :
776+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
773777 steps :
774778 - name : Checkout
775779 uses : actions/checkout@v4
0 commit comments