Skip to content

Commit e73968a

Browse files
authored
fix: install TF on doc workflow (#597)
Terraform binary has been removed from ubuntu-latest, so let's install it in our pipeline. I also pinned TF version used in all workflows to avoid surprises.
1 parent fbbbfbe commit e73968a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/check-documentation.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
uses: actions/setup-go@v5
2222
with: { go-version-file: go.mod }
2323

24+
- name: Install Terraform
25+
uses: hashicorp/setup-terraform@v3
26+
with:
27+
terraform_version: "1.10.5"
28+
terraform_wrapper: false
29+
2430
- name: Generate documentation
2531
run: cd tools && go generate ./...
2632

.github/workflows/test-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- name: Install Terraform
2121
uses: hashicorp/setup-terraform@v3
2222
with:
23+
terraform_version: "1.10.5"
2324
terraform_wrapper: false
2425

2526
- name: Test with coverage (prod - just checking it will works, no env missing etc)

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Install Terraform
2323
uses: hashicorp/setup-terraform@v3
2424
with:
25+
terraform_version: "1.10.5"
2526
terraform_wrapper: false
2627

2728
- name: Test with coverage

0 commit comments

Comments
 (0)