File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
- goVersion : &goVersion "1.21 "
1
+ goVersion : &goVersion "1.23 "
2
2
3
3
run :
4
4
go : *goVersion
@@ -10,7 +10,7 @@ linters:
10
10
# https://golangci-lint.run/usage/linters/#enabled-by-default-linters
11
11
enable :
12
12
- errorlint
13
- - exportloopref
13
+ - copyloopvar
14
14
- forcetypeassert
15
15
- goconst
16
16
- gocritic
@@ -56,16 +56,13 @@ linters-settings:
56
56
- commentFormatting
57
57
58
58
gofumpt :
59
- lang-version : *goVersion
60
59
module-path : " pgroll"
61
60
extra-rules : false
62
61
63
62
staticcheck :
64
- go : *goVersion
65
63
checks : ["all"]
66
64
67
65
stylecheck :
68
- go : *goVersion
69
66
checks : ["all", "-ST1000", "-ST1005"]
70
67
71
68
unused :
Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ func TestBuildFunction(t *testing.T) {
188
188
}
189
189
190
190
for _ , tc := range testCases {
191
- tc := tc
192
191
t .Run (tc .name , func (t * testing.T ) {
193
192
t .Parallel ()
194
193
@@ -221,7 +220,6 @@ func TestBuildTrigger(t *testing.T) {
221
220
}
222
221
223
222
for _ , tc := range testCases {
224
- tc := tc
225
223
t .Run (tc .name , func (t * testing.T ) {
226
224
t .Parallel ()
227
225
You can’t perform that action at this time.
0 commit comments