File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: Lint
22
33on :
44 push :
5- tags :
6- branches :
75 pull_request :
86
97jobs :
1715 stable : false
1816 - uses : actions/checkout@v2
1917 - name : golangci-lint
20- uses : golangci/golangci-lint-action@v2
18+ uses : golangci/golangci-lint-action@v3
2119 with :
22- # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
23- version : latest
24-
25- # Optional: working directory, useful for monorepos
26- working-directory : ./
27-
28- # Optional: golangci-lint command line arguments.
29- args : --timeout 60s --max-same-issues 50
30-
31- # Optional: show only new issues if it's a pull request. The default value is `false`.
32- # only-new-issues: true
33-
34- # Optional: if set to true then the action will use pre-installed Go.
35- # skip-go-installation: true
36-
37- # Optional: if set to true then the action don't cache or restore ~/go/pkg.
38- # skip-pkg-cache: true
39-
40- # Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
41- # skip-build-cache: true
42-
43- # optionally use a specific version of Go rather than the latest one
44- go_version : ' 1.18'
20+ args : --timeout 120s --max-same-issues 50
You can’t perform that action at this time.
0 commit comments