Skip to content

Commit d199cb5

Browse files
chore(go runtime): update go runtime and all dependents to latest
Signed-off-by: Abhinandan Purkait <[email protected]>
1 parent e21bd92 commit d199cb5

File tree

7 files changed

+183
-273
lines changed

7 files changed

+183
-273
lines changed

.github/workflows/golang-ci.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,12 @@ jobs:
2020
name: lint
2121
runs-on: ubuntu-latest
2222
steps:
23-
- name: Set up Go 1.19.9
24-
uses: actions/setup-go@v4
23+
- uses: actions/checkout@v5
24+
- uses: actions/setup-go@v6
2525
with:
26-
go-version: '1.19.9'
27-
cache: false
28-
- uses: actions/checkout@v3
26+
go-version: '1.24.7'
2927
- name: golangci-lint
30-
uses: golangci/golangci-lint-action@v3
28+
uses: golangci/golangci-lint-action@v8
3129
with:
32-
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
33-
version: v1.52.2
30+
version: v2.6.0
3431

35-
# Optional: working directory, useful for monorepos
36-
# working-directory: somedir
37-
38-
# Optional: golangci-lint command line arguments.
39-
# args: --issues-exit-code=0
40-
41-
# Optional: show only new issues if it's a pull request. The default value is `false`.
42-
# only-new-issues: true

.github/workflows/test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,10 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424

25-
- name: Set up Go 1.19.9
26-
uses: actions/setup-go@v4
25+
- uses: actions/checkout@v5
26+
- uses: actions/setup-go@v6
2727
with:
28-
go-version: '1.19.9'
29-
cache: false
30-
id: go
31-
32-
- name: Check out code into the Go module directory
33-
uses: actions/checkout@v3
28+
go-version: '1.24.7'
3429

3530
- name: verify license
3631
run: make license-check

go.mod

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,57 @@
11
module github.com/openebs/lib-csi
22

3-
go 1.19
3+
go 1.24.0
4+
5+
toolchain go1.24.7
46

57
require (
6-
github.com/container-storage-interface/spec v1.1.0
7-
github.com/google/uuid v1.3.0
8+
github.com/container-storage-interface/spec v1.11.0
9+
github.com/google/uuid v1.6.0
810
github.com/pkg/errors v0.9.1
9-
google.golang.org/grpc v1.55.0
10-
k8s.io/api v0.27.2
11-
k8s.io/apimachinery v0.27.2
12-
k8s.io/client-go v0.27.2
13-
k8s.io/klog/v2 v2.100.1
14-
k8s.io/utils v0.0.0-20230505201702-9f6742963106
11+
google.golang.org/grpc v1.76.0
12+
k8s.io/api v0.34.1
13+
k8s.io/apimachinery v0.34.1
14+
k8s.io/client-go v0.34.1
15+
k8s.io/klog/v2 v2.130.1
16+
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
1517
)
1618

1719
require (
1820
github.com/davecgh/go-spew v1.1.1 // indirect
19-
github.com/emicklei/go-restful/v3 v3.10.2 // indirect
20-
github.com/go-logr/logr v1.2.4 // indirect
21-
github.com/go-openapi/jsonpointer v0.19.6 // indirect
21+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
22+
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
23+
github.com/go-logr/logr v1.4.3 // indirect
24+
github.com/go-openapi/jsonpointer v0.21.0 // indirect
2225
github.com/go-openapi/jsonreference v0.20.2 // indirect
23-
github.com/go-openapi/swag v0.22.3 // indirect
26+
github.com/go-openapi/swag v0.23.0 // indirect
2427
github.com/gogo/protobuf v1.3.2 // indirect
25-
github.com/golang/protobuf v1.5.3 // indirect
26-
github.com/google/gnostic v0.6.9 // indirect
27-
github.com/google/go-cmp v0.5.9 // indirect
28-
github.com/google/gofuzz v1.2.0 // indirect
29-
github.com/imdario/mergo v0.3.15 // indirect
28+
github.com/google/gnostic-models v0.7.0 // indirect
29+
github.com/google/go-cmp v0.7.0 // indirect
3030
github.com/josharian/intern v1.0.0 // indirect
3131
github.com/json-iterator/go v1.1.12 // indirect
3232
github.com/mailru/easyjson v0.7.7 // indirect
3333
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
34-
github.com/modern-go/reflect2 v1.0.2 // indirect
34+
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
3535
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
36-
github.com/spf13/pflag v1.0.5 // indirect
37-
golang.org/x/net v0.10.0 // indirect
38-
golang.org/x/oauth2 v0.8.0 // indirect
39-
golang.org/x/sys v0.8.0 // indirect
40-
golang.org/x/term v0.8.0 // indirect
41-
golang.org/x/text v0.9.0 // indirect
42-
golang.org/x/time v0.3.0 // indirect
43-
google.golang.org/appengine v1.6.7 // indirect
44-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e // indirect
45-
google.golang.org/protobuf v1.30.0 // indirect
36+
github.com/pmezard/go-difflib v1.0.0 // indirect
37+
github.com/spf13/pflag v1.0.6 // indirect
38+
github.com/x448/float16 v0.8.4 // indirect
39+
go.yaml.in/yaml/v2 v2.4.2 // indirect
40+
go.yaml.in/yaml/v3 v3.0.4 // indirect
41+
golang.org/x/net v0.42.0 // indirect
42+
golang.org/x/oauth2 v0.30.0 // indirect
43+
golang.org/x/sys v0.34.0 // indirect
44+
golang.org/x/term v0.33.0 // indirect
45+
golang.org/x/text v0.27.0 // indirect
46+
golang.org/x/time v0.9.0 // indirect
47+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
48+
google.golang.org/protobuf v1.36.6 // indirect
49+
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
4650
gopkg.in/inf.v0 v0.9.1 // indirect
47-
gopkg.in/yaml.v2 v2.4.0 // indirect
4851
gopkg.in/yaml.v3 v3.0.1 // indirect
49-
k8s.io/kube-openapi v0.0.0-20230525220651-2546d827e515 // indirect
50-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
51-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
52-
sigs.k8s.io/yaml v1.3.0 // indirect
52+
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
53+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
54+
sigs.k8s.io/randfill v1.0.0 // indirect
55+
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
56+
sigs.k8s.io/yaml v1.6.0 // indirect
5357
)

0 commit comments

Comments
 (0)