Skip to content

Commit 31da39e

Browse files
committed
ci: use hashicorp/setup-terraform in provider workflow
The default ubuntu image no longer includes Terraform by default. We now need to install it at runtime instead.
1 parent ca7f6b5 commit 31da39e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/provider.yml

+4
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ jobs:
281281
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
282282
with:
283283
go-version-file: go.mod
284+
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
285+
with:
286+
terraform_version: ${{ env.TERRAFORM_VERSION }}
287+
terraform_wrapper: false
284288
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
285289
continue-on-error: true
286290
timeout-minutes: 2

0 commit comments

Comments
 (0)