Skip to content

Commit 6b5925d

Browse files
committed
Setup terraform before generate action.
1 parent 652f6f0 commit 6b5925d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 5
2424
steps:
25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-go@v3
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-go@v5
2727
with:
2828
go-version-file: 'go.mod'
2929
cache: true
@@ -38,6 +38,12 @@ jobs:
3838
with:
3939
go-version-file: 'go.mod'
4040
cache: true
41+
- name: Setup Terraform
42+
uses: hashicorp/setup-terraform@v3
43+
with:
44+
terraform_version: '1.3.1' # Adjust version as needed
45+
terraform_wrapper: false
46+
4147
- run: go generate ./...
4248
- name: git diff
4349
run: |

0 commit comments

Comments
 (0)