File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 2929 - name : golangci-lint
3030 uses : golangci/golangci-lint-action@v8
3131 with :
32- version : v2.0.2
33- args : --config .golangci.yml
32+ version : v2.1.6
33+ args : --config .golangci.yaml
3434
3535 - name : Build Binaries
3636 run : |
Original file line number Diff line number Diff line change 1+ # Copyright (c) Abstract Machines
2+ # SPDX-License-Identifier: Apache-2.0
3+
14version : " 2"
5+ run :
6+ timeout : 10m
7+ build-tags :
8+ - nats
29linters :
310 default : none
411 enable :
512 - asasalint
613 - asciicheck
714 - bidichk
15+ - contextcheck
816 - copyloopvar
917 - decorder
1018 - dogsled
@@ -70,6 +78,15 @@ linters:
7078 - common-false-positives
7179 - legacy
7280 - std-error-handling
81+ rules :
82+ - path : (.+)\.go$
83+ text : |-
84+ string `Usage:
85+ ` has (\d+) occurrences, make it a constant
86+ - path : (.+)\.go$
87+ text : |-
88+ string `For example:
89+ ` has (\d+) occurrences, make it a constant
7390 paths :
7491 - third_party$
7592 - builtin$
You can’t perform that action at this time.
0 commit comments