Skip to content

Commit

Permalink
workflows: Use setup-terraform install latest
Browse files Browse the repository at this point in the history
The runner image ubuntu-latest is still on terraform v1.10.0, which has
a bug in terraform apply. Use setup-terraform to install the latest
version which has a fix for it.

Signed-off-by: Sunny <github@darkowlzz.space>
  • Loading branch information
darkowlzz committed Dec 10, 2024
1 parent 5bf9095 commit b91dc11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
with:
go-version: 1.23.x
cache-dependency-path: oci/tests/integration/go.sum
- name: Setup Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
with:
go-version: 1.23.x
cache-dependency-path: oci/tests/integration/go.sum
- name: Setup Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
- name: Authenticate to Azure
uses: Azure/login@a65d910e8af852a8061c627c456678983e180302 # v1.4.6
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
with:
go-version: 1.23.x
cache-dependency-path: oci/tests/integration/go.sum
- name: Setup Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7
id: 'auth'
Expand Down

0 comments on commit b91dc11

Please sign in to comment.