File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ jobs:
3333 - uses : actions/checkout@v3
3434 - uses : actions/setup-go@v4
3535 with :
36- go-version : 1.21 .x
36+ go-version : 1.22 .x
3737 cache : false # golangci-lint-action does its own caching
3838 - uses : golangci/golangci-lint-action@v3
3939 with :
40- version : v1.54
40+ version : v1.56
4141
4242 codespell :
4343 runs-on : ubuntu-22.04
@@ -62,19 +62,19 @@ jobs:
6262 - uses : actions/checkout@v3
6363 - uses : actions/setup-go@v4
6464 with :
65- go-version : 1.21 .x
65+ go-version : 1.22 .x
6666 cache : false # golangci-lint-action does its own caching
6767 - uses : golangci/golangci-lint-action@v3
6868 with :
69- version : v1.54
69+ version : v1.56
7070 - name : test-stubs
7171 run : make test
7272
7373 test :
7474 strategy :
7575 fail-fast : false
7676 matrix :
77- go-version : [1.19 .x, 1.20.x, 1.21 .x]
77+ go-version : [1.21 .x, 1.22 .x]
7878 race : ["-race", ""]
7979 runs-on : ubuntu-20.04
8080 steps :
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func TestWalkDirManyErrors(t *testing.T) {
7373 max := uint32 (total / 2 )
7474 e42 := errors .New ("42" )
7575 err := Walk (dir ,
76- func (p string , i os.FileInfo , _ error ) error {
76+ func (_ string , _ os.FileInfo , _ error ) error {
7777 if atomic .AddUint32 (& count , 1 ) > max {
7878 return e42
7979 }
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func TestWalkDirManyErrors(t *testing.T) {
7676 max := uint32 (total / 2 )
7777 e42 := errors .New ("42" )
7878 err := Walk (dir ,
79- func (p string , e fs.DirEntry , _ error ) error {
79+ func (_ string , _ fs.DirEntry , _ error ) error {
8080 if atomic .AddUint32 (& count , 1 ) > max {
8181 return e42
8282 }
You can’t perform that action at this time.
0 commit comments