Skip to content

Commit 7ab3b3f

Browse files
committed
chore: Update Golang Version to 1.24.0
Also upgrade golang.org/x/net to v0.35.0 Signed-off-by: Raymond Etornam <[email protected]>
1 parent a71b8cf commit 7ab3b3f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2023
-665
lines changed

.github/workflows/darwin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.x
1414
uses: actions/setup-go@v5
1515
with:
16-
go-version: ^1.16
16+
go-version: ^1.24
1717
id: go
1818

1919
- name: Check out code into the Go module directory

.github/workflows/linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.x
1414
uses: actions/setup-go@v5
1515
with:
16-
go-version: ^1.16
16+
go-version: ^1.24
1717
id: go
1818

1919
- name: Check out code into the Go module directory

.github/workflows/static.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Go 1.x
1111
uses: actions/setup-go@v5
1212
with:
13-
go-version: ^1.19
13+
go-version: ^1.24
1414
- uses: actions/checkout@master
1515
- name: Run linter
1616
uses: golangci/golangci-lint-action@v6

.github/workflows/trivy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Go 1.x
1313
uses: actions/setup-go@v5
1414
with:
15-
go-version: 1.23.6
15+
go-version: 1.24.0
1616
id: go
1717

1818
- name: Checkout code

.github/workflows/ubuntu-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go 1.x
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: ^1.16
19+
go-version: ^1.24
2020
id: go
2121

2222
- name: Check out code into the Go module directory

.github/workflows/windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go 1.x
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: ^1.16
17+
go-version: ^1.24
1818
id: go
1919
- name: Checkout code
2020
uses: actions/checkout@v4

go.mod

Lines changed: 265 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/kubernetes-csi/csi-driver-smb
22

3-
go 1.23.0
3+
go 1.24
44

5-
toolchain go1.23.1
5+
toolchain go1.24.0
66

77
godebug winsymlink=0
88

@@ -20,7 +20,7 @@ require (
2020
github.com/pborman/uuid v1.2.1
2121
github.com/pelletier/go-toml v1.7.0
2222
github.com/stretchr/testify v1.9.0
23-
golang.org/x/net v0.33.0
23+
golang.org/x/net v0.35.0
2424
google.golang.org/grpc v1.65.0
2525
k8s.io/api v0.28.12
2626
k8s.io/apimachinery v0.28.12
@@ -91,7 +91,7 @@ require (
9191
github.com/pkg/errors v0.9.1 // indirect
9292
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
9393
github.com/prometheus/client_golang v1.16.0 // indirect
94-
github.com/prometheus/client_model v0.4.0 // indirect
94+
github.com/prometheus/client_model v0.5.0 // indirect
9595
github.com/prometheus/common v0.44.0 // indirect
9696
github.com/prometheus/procfs v0.10.1 // indirect
9797
github.com/spf13/cobra v1.8.0 // indirect
@@ -112,14 +112,14 @@ require (
112112
go.uber.org/atomic v1.10.0 // indirect
113113
go.uber.org/multierr v1.11.0 // indirect
114114
go.uber.org/zap v1.19.0 // indirect
115-
golang.org/x/crypto v0.31.0 // indirect
115+
golang.org/x/crypto v0.33.0 // indirect
116116
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
117117
golang.org/x/mod v0.19.0 // indirect
118118
golang.org/x/oauth2 v0.20.0 // indirect
119-
golang.org/x/sync v0.10.0 // indirect
120-
golang.org/x/sys v0.28.0 // indirect
121-
golang.org/x/term v0.27.0 // indirect
122-
golang.org/x/text v0.21.0 // indirect
119+
golang.org/x/sync v0.11.0 // indirect
120+
golang.org/x/sys v0.30.0 // indirect
121+
golang.org/x/term v0.29.0 // indirect
122+
golang.org/x/text v0.22.0 // indirect
123123
golang.org/x/time v0.3.0 // indirect
124124
golang.org/x/tools v0.23.0 // indirect
125125
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
@@ -161,3 +161,259 @@ replace (
161161
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.28.12
162162
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.28.12
163163
)
164+
165+
replace github.com/Azure/go-autorest => github.com/Azure/go-autorest v14.2.0+incompatible
166+
167+
replace github.com/Azure/go-autorest/autorest/date => github.com/Azure/go-autorest/autorest/date v0.3.0
168+
169+
replace github.com/Azure/go-autorest/autorest/validation => github.com/Azure/go-autorest/autorest/validation v0.3.1
170+
171+
replace github.com/Azure/go-autorest/logger => github.com/Azure/go-autorest/logger v0.2.1
172+
173+
replace github.com/Azure/go-autorest/tracing => github.com/Azure/go-autorest/tracing v0.6.0
174+
175+
replace github.com/Microsoft/go-winio => github.com/Microsoft/go-winio v0.6.0
176+
177+
replace github.com/NYTimes/gziphandler => github.com/NYTimes/gziphandler v1.1.1
178+
179+
replace github.com/antlr/antlr4/runtime/Go/antlr/v4 => github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df
180+
181+
replace github.com/asaskevich/govalidator => github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
182+
183+
replace github.com/beorn7/perks => github.com/beorn7/perks v1.0.1
184+
185+
replace github.com/blang/semver/v4 => github.com/blang/semver/v4 v4.0.0
186+
187+
replace github.com/cenkalti/backoff/v4 => github.com/cenkalti/backoff/v4 v4.2.1
188+
189+
replace github.com/cespare/xxhash/v2 => github.com/cespare/xxhash/v2 v2.3.0
190+
191+
replace github.com/coreos/go-semver => github.com/coreos/go-semver v0.3.1
192+
193+
replace github.com/coreos/go-systemd/v22 => github.com/coreos/go-systemd/v22 v22.5.0
194+
195+
replace github.com/davecgh/go-spew => github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
196+
197+
replace github.com/docker/distribution => github.com/docker/distribution v2.8.2+incompatible
198+
199+
replace github.com/emicklei/go-restful/v3 => github.com/emicklei/go-restful/v3 v3.12.1
200+
201+
replace github.com/evanphx/json-patch => github.com/evanphx/json-patch v5.9.0+incompatible
202+
203+
replace github.com/felixge/httpsnoop => github.com/felixge/httpsnoop v1.0.4
204+
205+
replace github.com/fsnotify/fsnotify => github.com/fsnotify/fsnotify v1.7.0
206+
207+
replace github.com/go-logr/logr => github.com/go-logr/logr v1.4.2
208+
209+
replace github.com/go-logr/stdr => github.com/go-logr/stdr v1.2.2
210+
211+
replace github.com/go-openapi/jsonpointer => github.com/go-openapi/jsonpointer v0.19.6
212+
213+
replace github.com/go-openapi/jsonreference => github.com/go-openapi/jsonreference v0.20.2
214+
215+
replace github.com/go-openapi/swag => github.com/go-openapi/swag v0.22.3
216+
217+
replace github.com/go-task/slim-sprig => github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572
218+
219+
replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
220+
221+
replace github.com/golang-jwt/jwt/v4 => github.com/golang-jwt/jwt/v4 v4.5.0
222+
223+
replace github.com/golang/groupcache => github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
224+
225+
replace github.com/google/cel-go => github.com/google/cel-go v0.16.1
226+
227+
replace github.com/google/gnostic-models => github.com/google/gnostic-models v0.6.8
228+
229+
replace github.com/google/go-cmp => github.com/google/go-cmp v0.6.0
230+
231+
replace github.com/google/gofuzz => github.com/google/gofuzz v1.2.0
232+
233+
replace github.com/google/pprof => github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1
234+
235+
replace github.com/google/uuid => github.com/google/uuid v1.6.0
236+
237+
replace github.com/grpc-ecosystem/go-grpc-prometheus => github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
238+
239+
replace github.com/grpc-ecosystem/grpc-gateway/v2 => github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
240+
241+
replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.6
242+
243+
replace github.com/inconshreveable/mousetrap => github.com/inconshreveable/mousetrap v1.1.0
244+
245+
replace github.com/josharian/intern => github.com/josharian/intern v1.0.0
246+
247+
replace github.com/json-iterator/go => github.com/json-iterator/go v1.1.12
248+
249+
replace github.com/mailru/easyjson => github.com/mailru/easyjson v0.7.7
250+
251+
replace github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v1.0.4
252+
253+
replace github.com/moby/spdystream => github.com/moby/spdystream v0.2.0
254+
255+
replace github.com/moby/sys/mountinfo => github.com/moby/sys/mountinfo v0.7.2
256+
257+
replace github.com/moby/sys/userns => github.com/moby/sys/userns v0.1.0
258+
259+
replace github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
260+
261+
replace github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v1.0.2
262+
263+
replace github.com/munnerz/goautoneg => github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
264+
265+
replace github.com/opencontainers/go-digest => github.com/opencontainers/go-digest v1.0.0
266+
267+
replace github.com/opencontainers/selinux => github.com/opencontainers/selinux v1.10.0
268+
269+
replace github.com/pkg/errors => github.com/pkg/errors v0.9.1
270+
271+
replace github.com/pmezard/go-difflib => github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
272+
273+
replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.16.0
274+
275+
replace github.com/prometheus/client_model => github.com/prometheus/client_model v0.4.0
276+
277+
replace github.com/prometheus/common => github.com/prometheus/common v0.44.0
278+
279+
replace github.com/prometheus/procfs => github.com/prometheus/procfs v0.10.1
280+
281+
replace github.com/spf13/cobra => github.com/spf13/cobra v1.8.0
282+
283+
replace github.com/spf13/pflag => github.com/spf13/pflag v1.0.5
284+
285+
replace github.com/stoewer/go-strcase => github.com/stoewer/go-strcase v1.2.0
286+
287+
replace go.etcd.io/etcd/api/v3 => go.etcd.io/etcd/api/v3 v3.5.9
288+
289+
replace go.etcd.io/etcd/client/pkg/v3 => go.etcd.io/etcd/client/pkg/v3 v3.5.9
290+
291+
replace go.etcd.io/etcd/client/v3 => go.etcd.io/etcd/client/v3 v3.5.9
292+
293+
replace go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0
294+
295+
replace go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp => go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0
296+
297+
replace go.opentelemetry.io/otel => go.opentelemetry.io/otel v1.20.0
298+
299+
replace go.opentelemetry.io/otel/exporters/otlp/otlptrace => go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0
300+
301+
replace go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc => go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.20.0
302+
303+
replace go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v1.20.0
304+
305+
replace go.opentelemetry.io/otel/sdk => go.opentelemetry.io/otel/sdk v1.20.0
306+
307+
replace go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v1.20.0
308+
309+
replace go.opentelemetry.io/proto/otlp => go.opentelemetry.io/proto/otlp v1.0.0
310+
311+
replace go.uber.org/atomic => go.uber.org/atomic v1.10.0
312+
313+
replace go.uber.org/multierr => go.uber.org/multierr v1.11.0
314+
315+
replace go.uber.org/zap => go.uber.org/zap v1.19.0
316+
317+
replace golang.org/x/crypto => golang.org/x/crypto v0.33.0
318+
319+
replace golang.org/x/exp => golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
320+
321+
replace golang.org/x/mod => golang.org/x/mod v0.19.0
322+
323+
replace golang.org/x/oauth2 => golang.org/x/oauth2 v0.20.0
324+
325+
replace golang.org/x/sync => golang.org/x/sync v0.11.0
326+
327+
replace golang.org/x/sys => golang.org/x/sys v0.30.0
328+
329+
replace golang.org/x/term => golang.org/x/term v0.29.0
330+
331+
replace golang.org/x/text => golang.org/x/text v0.22.0
332+
333+
replace golang.org/x/time => golang.org/x/time v0.3.0
334+
335+
replace golang.org/x/tools => golang.org/x/tools v0.23.0
336+
337+
replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b
338+
339+
replace google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157
340+
341+
replace google.golang.org/genproto/googleapis/rpc => google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5
342+
343+
replace google.golang.org/protobuf => google.golang.org/protobuf v1.34.2
344+
345+
replace gopkg.in/inf.v0 => gopkg.in/inf.v0 v0.9.1
346+
347+
replace gopkg.in/natefinch/lumberjack.v2 => gopkg.in/natefinch/lumberjack.v2 v2.2.1
348+
349+
replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.4.0
350+
351+
replace gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.1
352+
353+
replace k8s.io/apiserver => k8s.io/apiserver v0.28.12
354+
355+
replace k8s.io/component-helpers => k8s.io/component-helpers v0.28.12
356+
357+
replace k8s.io/controller-manager => k8s.io/controller-manager v0.28.12
358+
359+
replace k8s.io/kms => k8s.io/kms v0.28.12
360+
361+
replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9
362+
363+
replace sigs.k8s.io/apiserver-network-proxy/konnectivity-client => sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2
364+
365+
replace sigs.k8s.io/json => sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
366+
367+
replace sigs.k8s.io/structured-merge-diff/v4 => sigs.k8s.io/structured-merge-diff/v4 v4.2.3
368+
369+
replace github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v68.0.0+incompatible
370+
371+
replace github.com/Azure/go-autorest/autorest => github.com/Azure/go-autorest/autorest v0.11.29
372+
373+
replace github.com/Azure/go-autorest/autorest/adal => github.com/Azure/go-autorest/autorest/adal v0.9.23
374+
375+
replace github.com/Azure/go-autorest/autorest/to => github.com/Azure/go-autorest/autorest/to v0.4.0
376+
377+
replace github.com/container-storage-interface/spec => github.com/container-storage-interface/spec v1.11.0
378+
379+
replace github.com/golang/protobuf => github.com/golang/protobuf v1.5.4
380+
381+
replace github.com/kubernetes-csi/csi-lib-utils => github.com/kubernetes-csi/csi-lib-utils v0.13.0
382+
383+
replace github.com/kubernetes-csi/csi-proxy/client => github.com/kubernetes-csi/csi-proxy/client v1.0.1
384+
385+
replace github.com/onsi/ginkgo/v2 => github.com/onsi/ginkgo/v2 v2.17.1
386+
387+
replace github.com/onsi/gomega => github.com/onsi/gomega v1.33.0
388+
389+
replace github.com/pborman/uuid => github.com/pborman/uuid v1.2.1
390+
391+
replace github.com/pelletier/go-toml => github.com/pelletier/go-toml v1.7.0
392+
393+
replace github.com/stretchr/testify => github.com/stretchr/testify v1.9.0
394+
395+
replace golang.org/x/net => golang.org/x/net v0.35.0
396+
397+
replace google.golang.org/grpc => google.golang.org/grpc v1.65.0
398+
399+
replace k8s.io/api => k8s.io/api v0.28.12
400+
401+
replace k8s.io/apimachinery => k8s.io/apimachinery v0.28.12
402+
403+
replace k8s.io/client-go => k8s.io/client-go v0.28.12
404+
405+
replace k8s.io/component-base => k8s.io/component-base v0.28.12
406+
407+
replace k8s.io/klog/v2 => k8s.io/klog/v2 v2.130.1
408+
409+
replace k8s.io/kubernetes => k8s.io/kubernetes v1.28.12
410+
411+
replace k8s.io/mount-utils => k8s.io/mount-utils v0.32.0
412+
413+
replace k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.28.8
414+
415+
replace k8s.io/utils => k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
416+
417+
replace sigs.k8s.io/cloud-provider-azure => sigs.k8s.io/cloud-provider-azure v1.28.9
418+
419+
replace sigs.k8s.io/yaml => sigs.k8s.io/yaml v1.3.0

0 commit comments

Comments
 (0)