diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 6b679780..244e1a82 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -33,9 +33,11 @@ jobs: - name: Run prepare make target run: make generate - name: Run golangci-lint - uses: golangci/golangci-lint-action@v8 - with: - version: latest + run: | + # FIXME: Exclude cisco nx-os provider from golangci-lint as it includes + # a lot of generated code that will exceed the runners's constraints. + go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest + go list -f '{{.Dir}}' ./... | grep -v nxos/ | xargs $(go env GOPATH)/bin/golangci-lint run - name: Run shellcheck uses: ludeeus/action-shellcheck@2.0.0 - name: Dependency Licenses Review