File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ jobs:
1414 name : golangci-lint
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/setup-go@v4
17+ - uses : actions/setup-go@v5
1818 with :
19- go-version : " 1.20 "
19+ go-version : " 1.22 "
2020 cache : false
2121 - name : Checkout the code
22222323 - name : Vendor packages
2424 run : |
2525 go mod vendor
2626 - name : golangci-lint
27- uses : golangci/golangci-lint-action@v3
27+ uses : golangci/golangci-lint-action@v4
2828 with :
29- version : v1.53
29+ version : latest
3030 skip-cache : true
Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ require (
66 github.com/sirupsen/logrus v1.9.3
77 golang.org/x/sys v0.13.0
88)
9+
10+ require gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e // indirect
Original file line number Diff line number Diff line change @@ -12,5 +12,6 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc
1212golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE =
1313golang.org/x/sys v0.13.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
1414gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
15- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo =
1615gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
16+ gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e h1:3i3ny04XV6HbZ2N1oIBw1UBYATHAOpo4tfTF83JM3Z0 =
17+ gopkg.in/yaml.v3 v3.0.0-20220521103104-8f96da9f5d5e /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ func TestWWNToDevicePath(t *testing.T) {
149149 },
150150 }
151151 for _ , tt := range tests {
152- t .Run ("" , func (st * testing.T ) {
152+ t .Run ("" , func (_ * testing.T ) {
153153 // Change directories
154154 workingDirectory , _ := os .Getwd ()
155155 err := os .Chdir ("/dev/disk/by-id" )
You can’t perform that action at this time.
0 commit comments