File tree 2 files changed +63
-50
lines changed
2 files changed +63
-50
lines changed Original file line number Diff line number Diff line change 14
14
- uses : actions/checkout@v4
15
15
- run : (cd ui && yarn)
16
16
- run : make build-js
17
- - uses : golangci/golangci-lint-action@v6
17
+ - uses : golangci/golangci-lint-action@v7
18
18
with :
19
- version : v1.64
19
+ version : v2.0.2
20
20
args : --timeout=5m
21
21
skip-cache : true
22
22
- run : go mod download
32
32
run : |
33
33
export LD_FLAGS="-w -s -X main.Version=$VERSION -X main.BuildDate=$(date "+%F-%T") -X main.Commit=$(git rev-parse --verify HEAD) -X main.Mode=prod"
34
34
echo "LD_FLAGS=$LD_FLAGS" >> $GITHUB_ENV
35
-
35
+
36
36
make build
37
37
sudo chown -R $UID build
38
38
make package-zip
Original file line number Diff line number Diff line change 1
- issues :
2
- exclude-dirs :
3
- - plugin/example
4
- - plugin/testing
5
-
1
+ version : " 2"
6
2
linters :
7
- enable :
8
- - asciicheck
9
- - copyloopvar
10
- - godot
11
- - gofmt
12
- - gofumpt
13
- - goimports
14
- - gomodguard
15
- - goprintffuncname
16
- - gosimple
17
- - govet
18
- - ineffassign
19
- - misspell
20
- - nakedret
21
- - nolintlint
22
- - sqlclosecheck
23
- - staticcheck
24
- - stylecheck
25
- - typecheck
26
- - unconvert
27
- - unused
28
- - whitespace
29
- disable :
30
- - err113
31
- - errcheck
32
- - funlen
33
- - gochecknoglobals
34
- - gocognit
35
- - goconst
36
- - gocyclo
37
- - godox
38
- - lll
39
- - nestif
40
- - nlreturn
41
- - noctx
42
- - testpackage
43
- - wsl
44
-
45
- linters-settings :
46
- gofumpt :
47
- extra-rules : true
3
+ enable :
4
+ - asciicheck
5
+ - copyloopvar
6
+ - godot
7
+ - gomodguard
8
+ - goprintffuncname
9
+ - misspell
10
+ - nakedret
11
+ - nolintlint
12
+ - sqlclosecheck
13
+ - staticcheck
14
+ - unconvert
15
+ - whitespace
16
+ disable :
17
+ - err113
18
+ - errcheck
19
+ - funlen
20
+ - gochecknoglobals
21
+ - gocognit
22
+ - goconst
23
+ - gocyclo
24
+ - godox
25
+ - lll
26
+ - nestif
27
+ - nlreturn
28
+ - noctx
29
+ - testpackage
30
+ - wsl
31
+ settings :
48
32
misspell :
49
- locale : US
33
+ locale : US
34
+ exclusions :
35
+ generated : lax
36
+ presets :
37
+ - comments
38
+ - common-false-positives
39
+ - legacy
40
+ - std-error-handling
41
+ paths :
42
+ - plugin/example
43
+ - plugin/testing
44
+ - third_party$
45
+ - builtin$
46
+ - examples$
47
+ formatters :
48
+ enable :
49
+ - gofmt
50
+ - gofumpt
51
+ - goimports
52
+ settings :
53
+ gofumpt :
54
+ extra-rules : true
55
+ exclusions :
56
+ generated : lax
57
+ paths :
58
+ - plugin/example
59
+ - plugin/testing
60
+ - third_party$
61
+ - builtin$
62
+ - examples$
You can’t perform that action at this time.
0 commit comments