File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ jobs:
33
33
- uses : actions/checkout@v3
34
34
- uses : actions/setup-go@v4
35
35
with :
36
- go-version : 1.21 .x
36
+ go-version : 1.22 .x
37
37
cache : false # golangci-lint-action does its own caching
38
38
- uses : golangci/golangci-lint-action@v3
39
39
with :
40
- version : v1.54
40
+ version : v1.56
41
41
42
42
codespell :
43
43
runs-on : ubuntu-22.04
@@ -62,19 +62,19 @@ jobs:
62
62
- uses : actions/checkout@v3
63
63
- uses : actions/setup-go@v4
64
64
with :
65
- go-version : 1.21 .x
65
+ go-version : 1.22 .x
66
66
cache : false # golangci-lint-action does its own caching
67
67
- uses : golangci/golangci-lint-action@v3
68
68
with :
69
- version : v1.54
69
+ version : v1.56
70
70
- name : test-stubs
71
71
run : make test
72
72
73
73
test :
74
74
strategy :
75
75
fail-fast : false
76
76
matrix :
77
- go-version : [1.19 .x, 1.20.x, 1.21 .x]
77
+ go-version : [1.21 .x, 1.22 .x]
78
78
race : ["-race", ""]
79
79
runs-on : ubuntu-20.04
80
80
steps :
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func TestWalkDirManyErrors(t *testing.T) {
73
73
max := uint32 (total / 2 )
74
74
e42 := errors .New ("42" )
75
75
err := Walk (dir ,
76
- func (p string , i os.FileInfo , _ error ) error {
76
+ func (_ string , _ os.FileInfo , _ error ) error {
77
77
if atomic .AddUint32 (& count , 1 ) > max {
78
78
return e42
79
79
}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func TestWalkDirManyErrors(t *testing.T) {
76
76
max := uint32 (total / 2 )
77
77
e42 := errors .New ("42" )
78
78
err := Walk (dir ,
79
- func (p string , e fs.DirEntry , _ error ) error {
79
+ func (_ string , _ fs.DirEntry , _ error ) error {
80
80
if atomic .AddUint32 (& count , 1 ) > max {
81
81
return e42
82
82
}
You can’t perform that action at this time.
0 commit comments