Skip to content

Commit

Permalink
fix: install TF on doc workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eliecharra committed Jan 23, 2025
1 parent fbbbfbe commit 8b3e552
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
uses: actions/setup-go@v5
with: { go-version-file: go.mod }

- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.10.5"
terraform_wrapper: false

- name: Generate documentation
run: cd tools && go generate ./...

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.10.5"
terraform_wrapper: false

- name: Test with coverage (prod - just checking it will works, no env missing etc)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.10.5"
terraform_wrapper: false

- name: Test with coverage
Expand Down

0 comments on commit 8b3e552

Please sign in to comment.