diff --git a/.github/workflows/generate-json.yml b/.github/workflows/generate-json.yml index 26cd0be..f1bd0cf 100644 --- a/.github/workflows/generate-json.yml +++ b/.github/workflows/generate-json.yml @@ -15,6 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: hashicorp/setup-terraform@v3 - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d556e3b..37a6f35 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,6 +44,7 @@ jobs: with: go-version-file: 'go.mod' cache: true + - uses: hashicorp/setup-terraform@v3 - run: go generate ./... - name: git diff run: | diff --git a/.golangci.yml b/.golangci.yml index 223cf95..b51d4fe 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,7 +9,7 @@ linters: enable: - durationcheck - errcheck - - exportloopref + - copyloopvar - forcetypeassert - godot - gofmt @@ -20,8 +20,8 @@ linters: - nilerr - predeclared - staticcheck - - tenv + - usetesting - unconvert - unparam - unused - - vet \ No newline at end of file + - govet \ No newline at end of file