We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68b94a4 commit 6f423a5Copy full SHA for 6f423a5
1 file changed
.github/workflows/go-setup-lint.yaml
@@ -60,9 +60,14 @@ jobs:
60
run: |
61
go vet -unsafeptr=false $(go list ./... | grep -v /vendor/)
62
63
- - name: Install and Run golangci-lint
+ - name: Install golangci-lint
64
+ uses: golangci/golangci-lint-action@v9
65
+ with:
66
+ version: ${{ inputs.golangci-lint-version }}
67
+ install-only: true
68
+
69
+ - name: Run golangci-lint
70
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${{ inputs.golangci-lint-version }}
71
golangci-lint run --output.checkstyle.path=golangci-report.xml || true
72
73
- name: Upload lint results
0 commit comments