Skip to content

Commit 55c097a

Browse files
Bump Go version to 1.23.0
Signed-off-by: Furkat Gofurov <[email protected]>
1 parent 7e7d5cc commit 55c097a

File tree

12 files changed

+12
-20
lines changed

12 files changed

+12
-20
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-go@v5
1616
with:
17-
go-version: '1.22'
17+
go-version: '1.23'
1818
- name: golangci-lint
1919
uses: golangci/golangci-lint-action@v6
2020
with:

.github/workflows/pr-dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0
2828
with:
2929
# go-version: ${{ steps.vars.outputs.go_version }} // TODO: we have to use go version consistent with test infra jobs
30-
go-version: '1.22'
30+
go-version: '1.23'
3131
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # tag=v4.2.0
3232
name: Restore go cache
3333
with:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.22'
25+
go-version: '1.23'
2626
- name: Run GoReleaser
2727
uses: goreleaser/goreleaser-action@v6
2828
with:

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 5m
3-
go: "1.22"
3+
go: "1.23"
44
skip-files:
55
- "zz_generated.*\\.go$"
66
allow-parallel-runners: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ROOT:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
2323

2424
.DEFAULT_GOAL:=help
2525

26-
GO_VERSION ?= 1.22.11
26+
GO_VERSION ?= 1.23.0
2727
GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
2828

2929
# Use GOPROXY environment variable if set

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def build_image():
2020
"SECURITY_CONTACTS"
2121
],
2222
build_args = {
23-
"builder_image": "docker.io/library/golang:1.22.11",
23+
"builder_image": "docker.io/library/golang:1.23.0",
2424
}
2525
)
2626

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module sigs.k8s.io/cluster-api-operator
22

3-
go 1.22.0
4-
5-
toolchain go1.22.11
3+
go 1.23.0
64

75
require (
86
github.com/MakeNowJust/heredoc v1.0.0

hack/chart-update/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module sigs.k8s.io/cluster-api-operator/hack/chart-update
22

3-
go 1.22.0
4-
5-
toolchain go1.22.11
3+
go 1.23.0
64

75
require (
86
github.com/google/go-github/v50 v50.2.0

hack/ensure-go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EOF
3131
local go_version
3232
IFS=" " read -ra go_version <<< "$(go version)"
3333
local minimum_go_version
34-
minimum_go_version=go1.22.0
34+
minimum_go_version=go1.23.0
3535
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
3636
cat <<EOF
3737
Detected go version: ${go_version[*]}.

hack/tools/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module sigs.k8s.io/cluster-api-operator/hack/tools
22

3-
go 1.22.0
4-
5-
toolchain go1.22.11
3+
go 1.23.0
64

75
replace (
86
sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.9.4

0 commit comments

Comments
 (0)