Skip to content

Commit

Permalink
Add terrafrom install to generate job
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredfholgate committed Jan 8, 2025
1 parent 9c77ddf commit 7ec1435
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
with:
go-version-file: 'go.mod'
cache: true
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: latest
terraform_wrapper: false
- run: go generate ./...
- name: git diff
run: |
Expand All @@ -36,14 +41,14 @@ jobs:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.21'
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: latest
terraform_wrapper: false
- uses: actions/setup-go@v2
with:
go-version: '1.21'
- run: chmod -R +x ./scripts
- run: bash scripts/gogetcookie.sh
- run: make test
Expand Down

0 comments on commit 7ec1435

Please sign in to comment.