We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6061918 commit 6f341fcCopy full SHA for 6f341fc
.github/workflows/golangci-lint.yml
@@ -20,12 +20,13 @@ jobs:
20
name: lint
21
runs-on: ubuntu-latest
22
steps:
23
+ - uses: actions/checkout@v3
24
- uses: actions/setup-go@v3
25
with:
- go-version: 1.18
26
- - uses: actions/checkout@v3
+ go-version-file: go.mod
27
+ cache: true
28
+ cache-dependency-path: go.sum
29
- name: golangci-lint
- uses: golangci/golangci-lint-action@v3
- with:
30
- # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
31
- version: v1.29
+ run: go install github.com/golangci/golangci-lint/cmd/[email protected]
+ - name: Run golangci-lint
32
+ run: golangci-lint run --version --verbose --out-format=github-actions
0 commit comments