File tree Expand file tree Collapse file tree 2 files changed +32
-23
lines changed Expand file tree Collapse file tree 2 files changed +32
-23
lines changed Original file line number Diff line number Diff line change 29
29
name : Build ${{ matrix.target_os }}_${{ matrix.target_arch }} binaries
30
30
runs-on : ${{ matrix.os }}
31
31
env :
32
- GOLANG_CI_LINT_VER : v1.55.2
32
+ GOLANG_CI_LINT_VER : v1.61.0
33
33
GOOS : ${{ matrix.target_os }}
34
34
GOARCH : ${{ matrix.target_arch }}
35
35
GOPROXY : https://proxy.golang.org
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ linters:
222
222
enable-all : true
223
223
disable :
224
224
# TODO Enforce the below linters later
225
+ - musttag
225
226
- dupl
226
227
- errcheck
227
228
- funlen
@@ -230,39 +231,47 @@ linters:
230
231
- gocyclo
231
232
- gocognit
232
233
- godox
233
- - interfacer
234
234
- lll
235
- - maligned
236
- - scopelint
237
235
- unparam
238
236
- wsl
239
237
- gomnd
240
238
- testpackage
241
239
- nestif
242
- - goerr113
243
240
- nlreturn
244
241
- exhaustive
245
- - gci
246
- - noctx
247
- - exhaustivestruct
248
242
- exhaustruct
249
- - gomoddirectives
250
- - paralleltest
243
+ - noctx
244
+ - gci
251
245
- tparallel
252
- - wastedassign
253
- - cyclop
254
- - forbidigo
255
- - tagliatelle
256
- - thelper
246
+ - paralleltest
257
247
- wrapcheck
248
+ - tagliatelle
249
+ - ireturn
250
+ - errchkjson
251
+ - contextcheck
252
+ - gomoddirectives
253
+ - godot
254
+ - cyclop
258
255
- varnamelen
256
+ - errorlint
259
257
- forcetypeassert
260
- - ireturn
261
- - golint
262
- - nosnakecase
258
+ - maintidx
259
+ - nilnil
260
+ - predeclared
261
+ - tenv
262
+ - thelper
263
+ - wastedassign
264
+ - containedctx
265
+ - gosimple
266
+ - nonamedreturns
267
+ - asasalint
268
+ - rowserrcheck
269
+ - sqlclosecheck
270
+ - inamedparam
263
271
- tagalign
264
- - varcheck
265
- - deadcode
266
- - structcheck
267
- - ifshort
268
- - testifylint
272
+ - mnd
273
+ - canonicalheader
274
+ - exportloopref
275
+ - execinquery
276
+ - err113
277
+ - fatcontext
You can’t perform that action at this time.
0 commit comments