diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index acdc5d272..d55e591bf 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -58,6 +58,9 @@ jobs: with: ref: ${{ inputs.ref }} + - name: Set up Terraform + uses: ./.github/actions/setup-terraform + - name: Configure AWS credentials uses: ./.github/actions/configure-aws-credentials with: diff --git a/.github/workflows/check-infra-deploy-status.yml b/.github/workflows/check-infra-deploy-status.yml index 4cac7e2fe..4367978dd 100644 --- a/.github/workflows/check-infra-deploy-status.yml +++ b/.github/workflows/check-infra-deploy-status.yml @@ -44,10 +44,9 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: 1.8.3 - terraform_wrapper: false + + - name: Set up Terraform + uses: ./.github/actions/setup-terraform - name: Configure AWS credentials uses: ./.github/actions/configure-aws-credentials diff --git a/.github/workflows/ci-infra-service.yml b/.github/workflows/ci-infra-service.yml index 28d80584c..874ae3789 100644 --- a/.github/workflows/ci-infra-service.yml +++ b/.github/workflows/ci-infra-service.yml @@ -30,10 +30,8 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: 1.8.3 - terraform_wrapper: false + - name: Set up Terraform + uses: ./.github/actions/setup-terraform - uses: actions/setup-go@v5 with: diff --git a/.github/workflows/pr-environment-checks.yml b/.github/workflows/pr-environment-checks.yml index b723a2a89..665ed271e 100644 --- a/.github/workflows/pr-environment-checks.yml +++ b/.github/workflows/pr-environment-checks.yml @@ -42,11 +42,8 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: 1.8.3 - terraform_wrapper: false + - name: Set up Terraform + uses: ./.github/actions/setup-terraform - name: Configure AWS credentials uses: ./.github/actions/configure-aws-credentials diff --git a/.github/workflows/pr-environment-destroy.yml b/.github/workflows/pr-environment-destroy.yml index 346b8c11c..e750b43cc 100644 --- a/.github/workflows/pr-environment-destroy.yml +++ b/.github/workflows/pr-environment-destroy.yml @@ -28,11 +28,8 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup Terraform - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: 1.8.3 - terraform_wrapper: false + - name: Set up Terraform + uses: ./.github/actions/setup-terraform - name: Configure AWS credentials uses: ./.github/actions/configure-aws-credentials diff --git a/.github/workflows/template-only-ci-infra.yml b/.github/workflows/template-only-ci-infra.yml index 79a7f8347..5a990fc62 100644 --- a/.github/workflows/template-only-ci-infra.yml +++ b/.github/workflows/template-only-ci-infra.yml @@ -33,10 +33,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: 1.8.3 - terraform_wrapper: false + + - name: Set up Terraform + uses: ./.github/actions/setup-terraform + - uses: actions/setup-go@v5 with: go-version: ">=1.19.0"