File tree 2 files changed +38
-19
lines changed
2 files changed +38
-19
lines changed Original file line number Diff line number Diff line change 69
69
- uses : actions/checkout@v4
70
70
- uses : actions/setup-go@v5
71
71
with :
72
- go-version : 1.22.0
72
+ go-version : 1.24.1
73
73
- name : golangci-lint
74
- uses : golangci/golangci-lint-action@v6
74
+ uses : golangci/golangci-lint-action@v7
75
75
with :
76
- version : v1.55 .2
76
+ version : v2.0 .2
Original file line number Diff line number Diff line change 1
1
---
2
+ version : " 2"
2
3
linters :
3
- disable-all : true
4
+ default : none
4
5
enable :
5
6
- errcheck
6
7
- godot
7
- - gofumpt
8
- - goimports
9
- - gosimple
10
8
- govet
11
9
- ineffassign
12
10
- misspell
13
11
- staticcheck
14
12
- testifylint
15
13
- testpackage
16
- - typecheck
17
14
- unused
18
15
- whitespace
19
16
- wsl
20
-
21
- linters-settings :
22
- goimports :
23
- local-prefixes : github.com/xorcare/testing-go-code-with-postgres
24
- gofumpt :
25
- module-path : github.com/xorcare/testing-go-code-with-postgres
26
- unused :
27
- field-writes-are-uses : false
28
- post-statements-are-reads : true
29
- exported-fields-are-used : false
30
- local-variables-are-used : false
17
+ settings :
18
+ unused :
19
+ field-writes-are-uses : false
20
+ post-statements-are-reads : true
21
+ exported-fields-are-used : false
22
+ local-variables-are-used : false
23
+ exclusions :
24
+ generated : lax
25
+ presets :
26
+ - comments
27
+ - common-false-positives
28
+ - legacy
29
+ - std-error-handling
30
+ paths :
31
+ - third_party$
32
+ - builtin$
33
+ - examples$
34
+ formatters :
35
+ enable :
36
+ - gofumpt
37
+ - goimports
38
+ settings :
39
+ gofumpt :
40
+ module-path : github.com/xorcare/testing-go-code-with-postgres
41
+ goimports :
42
+ local-prefixes :
43
+ - github.com/xorcare/testing-go-code-with-postgres
44
+ exclusions :
45
+ generated : lax
46
+ paths :
47
+ - third_party$
48
+ - builtin$
49
+ - examples$
You can’t perform that action at this time.
0 commit comments