File tree Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Expand file tree Collapse file tree 2 files changed +25
-7
lines changed Original file line number Diff line number Diff line change 28
28
- name : Checkout Repository
29
29
uses : actions/checkout@v2
30
30
- name : Lint Code
31
- uses : golangci/golangci-lint-action@v2.5.2
31
+ uses : golangci/golangci-lint-action@v2
32
32
with :
33
- args : --timeout ${{ env.GOLANGCI_TIMEOUT }} --issues-exit-code=0
33
+ args : --timeout ${{ env.GOLANGCI_TIMEOUT }}
Original file line number Diff line number Diff line change @@ -4,14 +4,32 @@ linters-settings:
4
4
5
5
linters :
6
6
enable :
7
+ - asciicheck
8
+ - deadcode
9
+ - errcheck
10
+ - errorlint
11
+ - gofmt
12
+ - gofumpt
7
13
- goimports
14
+ - gosec
8
15
- gosimple
9
16
- govet
17
+ - ineffassign
18
+ - makezero
10
19
- misspell
11
- - gofmt
12
- - unparam
13
- - unconvert
20
+ - nilerr
21
+ - noctx
22
+ - predeclared
23
+ - promlinter
24
+ - staticcheck
14
25
- structcheck
15
- - errcheck
26
+ - typecheck
27
+ - unconvert
28
+ - unparam
29
+ - unused
30
+ - varcheck
31
+ - wastedassign
16
32
disable-all : true
17
-
33
+ issues :
34
+ max-issues-per-linter : 0
35
+ max-same-issues : 0
You can’t perform that action at this time.
0 commit comments