Skip to content

Commit 8c31933

Browse files
authored
Merge pull request dell#39 from dell/update-gopkg
Upgrade gopkg version
2 parents 155ffca + 57d8e7a commit 8c31933

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/linters.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
2222
uses: actions/[email protected]
2323
- 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

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

go.sum

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc
1212
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
1313
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1414
gopkg.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=
1615
gopkg.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=

gofsutil_unix_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)