File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 11name : Lint
22
33on :
4+ push :
5+ branches :
6+ - main
7+ - master
48 pull_request :
59
610jobs :
711 golangci :
812 name : golangci‑lint
913 runs-on : ubuntu-latest
1014 steps :
15+ - uses : actions/checkout@v4
1116 - uses : actions/setup-go@v5
1217 with :
13- go-version : ' 1.24'
14- - uses : actions/checkout@v4
18+ go-version : stable
1519 - name : golangci-lint
1620 uses : golangci/golangci-lint-action@v8
1721 with :
2428 args : --enable bodyclose --timeout 10m
2529
2630 # Optional: show only new issues if it's a pull request. The default value is `false`.
27- only-new-issues : true
28-
29- # Optional: if set to true then the action don't cache or restore ~/go/pkg.
30- # skip-pkg-cache: true
31-
32- # Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
33- # skip-build-cache: true
31+ # only-new-issues: true
You can’t perform that action at this time.
0 commit comments