Skip to content

Commit a331535

Browse files
authored
feat: go 1.24.1 and update all other tools (#1066)
Also includes some enhancements to testing (t.Context) highlighted by golangci-lint.
1 parent e88d493 commit a331535

File tree

11 files changed

+326
-248
lines changed

11 files changed

+326
-248
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ run:
55
timeout: 10m
66
build-tags:
77
- e2e
8+
go: "1.23"
89

910
linters:
1011
disable-all: true

api/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
module github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/api
55

6-
go 1.22.0
6+
go 1.23
77

8-
toolchain go1.24.0
8+
toolchain go1.24.1
99

1010
replace github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/common => ../common
1111

common/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
module github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/common
55

6-
go 1.22.0
6+
go 1.23
77

8-
toolchain go1.24.0
8+
toolchain go1.24.1
99

1010
require (
1111
github.com/evanphx/json-patch/v5 v5.9.11

devbox.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
"gnused@latest",
1515
"go@latest",
1616
"gojq@latest",
17+
"golangci-lint@latest",
1718
"golines@latest",
1819
"gomplate@latest",
1920
"goreleaser@latest",
2021
"gotestsum@latest",
22+
"govulncheck@latest",
2123
"helm-docs@latest",
2224
"hugo@latest",
2325
"kind@latest",
@@ -34,9 +36,7 @@
3436
"yamllint@latest",
3537
"yq-go@latest",
3638
"path:./hack/flakes#clusterctl-aws",
37-
"path:./hack/flakes#golangci-lint",
3839
"path:./hack/flakes#goprintconst",
39-
"path:./hack/flakes#govulncheck",
4040
"path:./hack/flakes#helm-with-plugins",
4141
"path:./hack/flakes#release-please"
4242
],

0 commit comments

Comments
 (0)