File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 7373 - name : golangci-lint
7474 uses : golangci/golangci-lint-action@v8
7575 with :
76- version : latest
76+ version : v2.6.0
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ linters:
2121 - copyloopvar
2222 - tparallel
2323 - gochecknoglobals
24+ - nolintlint
25+ - modernize
2426 settings :
2527 govet :
2628 enable :
Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ func TestCloneVal_TypedNil(t *testing.T) {
330330
331331 t .Run ("interface_with_typed_nil" , func (t * testing.T ) {
332332 t .Parallel ()
333- var i interface {} = (* int )(nil )
333+ var i any = (* int )(nil )
334334 cloned := CloneVal (i )
335335
336336 if cloned != i {
@@ -434,7 +434,7 @@ func TestCopyVal_TypedNil(t *testing.T) {
434434
435435 t .Run ("interface_with_typed_nil" , func (t * testing.T ) {
436436 t .Parallel ()
437- var i interface {} = (* int )(nil )
437+ var i any = (* int )(nil )
438438 copied := CopyVal (i )
439439
440440 // CopyVal is a value copy, so interface contents are copied
You can’t perform that action at this time.
0 commit comments