File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 11name : golangci-lint
22on :
33 push :
4- tags :
5- - v*
6- branches :
7- - master
4+ paths :
5+ - " go.sum"
6+ - " go.mod"
7+ - " **.go"
8+ - " scripts/errcheck_excludes.txt"
9+ - " .github/workflows/golangci-lint.yml"
810 pull_request :
11+ paths :
12+ - " go.sum"
13+ - " go.mod"
14+ - " **.go"
15+ - " scripts/errcheck_excludes.txt"
16+ - " .github/workflows/golangci-lint.yml"
17+
918jobs :
1019 golangci :
1120 name : lint
1524 - name : golangci-lint
1625 uses : golangci/golangci-lint-action@v3
1726 with :
18- # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
19- version : v1.29
20- only_new_issues : true
21- # Optional: golangci-lint command line arguments.
22- # args: ./the-only-dir-to-analyze/...
27+ version : v1.42.0
You can’t perform that action at this time.
0 commit comments