File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 27
27
- name : Run golangci-lint
28
28
uses : golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
29
29
with :
30
- version : v1.58.2
31
- args : --timeout 5m
30
+ version : v1.63.4
31
+ args : --verbose
32
32
- uses : codecov/codecov-action@a2f73fb6db51fcd2e0aa085dfb36dea90c5e3689 # v5.0.2
33
33
with :
34
34
token : ${{ secrets.CODECOV_TOKEN }} # required
Original file line number Diff line number Diff line change @@ -7,12 +7,42 @@ issues:
7
7
max-same-issues : 0
8
8
linters :
9
9
enable :
10
+ - errcheck
11
+ # - errorlint
12
+ - gocritic
10
13
- gofumpt
14
+ # - goimports
15
+ - gomodguard
11
16
- gosimple
17
+ - govet
18
+ - importas
19
+ - ineffassign
20
+ # - misspell
21
+ # Disabled because of https://github.com/argoproj/argo-cd/issues/21705
22
+ # - nolintlint
23
+ # - perfsprint
12
24
- revive
25
+ - staticcheck
13
26
- testifylint
27
+ # - thelper
28
+ # - unparam
29
+ - unused
30
+ - usestdlibvars
14
31
- whitespace
15
32
linters-settings :
33
+ gocritic :
34
+ disabled-checks :
35
+ - appendAssign
36
+ - assignOp # Keep it disabled for readability
37
+ - commentFormatting # FIXME
38
+ - exitAfterDefer
39
+ - elseif # FIXME
40
+ - ifElseChain # FIXME
41
+ - mapKey
42
+ - singleCaseSwitch # FIXME
43
+ - typeSwitchVar
44
+ - unlambda # FIXME
45
+ - wrapperFunc # FIXME
16
46
revive :
17
47
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md
18
48
rules :
You can’t perform that action at this time.
0 commit comments