File tree 4 files changed +52
-112
lines changed
4 files changed +52
-112
lines changed Original file line number Diff line number Diff line change 15
15
- uses : actions/checkout@v4
16
16
17
17
- name : golangci-lint
18
- uses : golangci/golangci-lint-action@v6
18
+ uses : golangci/golangci-lint-action@v7
19
19
with :
20
- version : v1.61
20
+ version : v2.0.2
Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
- timeout : 5m
3
3
tests : false
4
- issues :
5
- exclude-rules :
6
- - path : ' internal/client/client.go'
7
- linters :
8
- - dupl
9
- # - path: 'cmd/root.go'
10
- # linters:
11
- # - exhaustive
12
4
linters :
13
- enable-all : true
14
- disable :
15
- - cyclop
16
- - depguard
17
- - exhaustivestruct
18
- - exhaustruct
19
- - forbidigo
20
- - forcetypeassert
21
- - gci
22
- - gochecknoglobals
23
- - gochecknoinits
24
- - godox
25
- - godot
26
- - goerr113
27
- - gofumpt
28
- - gomnd
29
- - mnd
30
- - lll
31
- - musttag
32
- - nakedret
33
- - nlreturn
34
- - nolintlint
35
- - nonamedreturns
36
- - tagliatelle
37
- - varnamelen
38
- - wrapcheck
39
- linters-settings :
40
- estif :
41
- min-complexity : 4
42
- maligned :
43
- suggest-new : true
44
- funlen :
45
- lines : 90
5
+ default : all
6
+ disable :
7
+ - funlen
8
+ - cyclop
9
+ - depguard
10
+ - err113
11
+ - exhaustruct
12
+ - forbidigo
13
+ - forcetypeassert
14
+ - gochecknoglobals
15
+ - gochecknoinits
16
+ - godot
17
+ - godox
18
+ - lll
19
+ - mnd
20
+ - musttag
21
+ - nakedret
22
+ - nlreturn
23
+ - nolintlint
24
+ - nonamedreturns
25
+ - tagliatelle
26
+ - varnamelen
27
+ - wrapcheck
28
+ exclusions :
29
+ generated : lax
30
+ presets :
31
+ - comments
32
+ - common-false-positives
33
+ - legacy
34
+ - std-error-handling
35
+ rules :
36
+ - linters :
37
+ - dupl
38
+ path : internal/client/client.go
39
+ paths :
40
+ - third_party$
41
+ - builtin$
42
+ - examples$
43
+ formatters :
44
+ enable :
45
+ - gofmt
46
+ - goimports
47
+ exclusions :
48
+ generated : lax
49
+ paths :
50
+ - third_party$
51
+ - builtin$
52
+ - examples$
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
module github.com/NETWAYS/notify_zammad
2
2
3
- go 1.21
3
+ go 1.23
4
4
5
5
require (
6
6
github.com/NETWAYS/go-check v0.6.1
You can’t perform that action at this time.
0 commit comments