Skip to content

Commit b8bc35d

Browse files
committed
Bump Go 1.24
Signed-off-by: sivchari <[email protected]>
1 parent d8d891a commit b8bc35d

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.golangci-kal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 10m
3-
go: "1.23"
3+
go: "1.24"
44
allow-parallel-runners: true
55

66
linters:

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 10m
3-
go: "1.23"
3+
go: "1.24"
44
build-tags:
55
- tools
66
- e2e

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ SHELL:=/usr/bin/env bash
2323
#
2424
# Go.
2525
#
26-
GO_VERSION ?= 1.23.8
27-
GO_DIRECTIVE_VERSION ?= 1.23.0
26+
GO_VERSION ?= 1.24.0
27+
GO_DIRECTIVE_VERSION ?= 1.24.0
2828
GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
2929

3030
# Ensure correct toolchain is used

Tiltfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ def load_provider_tilt_files():
172172

173173
tilt_helper_dockerfile_header = """
174174
# Tilt image
175-
FROM golang:1.23.8 as tilt-helper
175+
FROM golang:1.24.0 as tilt-helper
176176
# Install delve. Note this should be kept in step with the Go release minor version.
177-
RUN go install github.com/go-delve/delve/cmd/dlv@v1.23
177+
RUN go install github.com/go-delve/delve/cmd/dlv@v1.24
178178
# Support live reloading with Tilt
179179
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/restart.sh && \
180180
wget --output-document /start.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/start.sh && \
@@ -183,7 +183,7 @@ RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com
183183
"""
184184

185185
tilt_dockerfile_header = """
186-
FROM golang:1.23.8 as tilt
186+
FROM golang:1.24.0 as tilt
187187
WORKDIR /
188188
COPY --from=tilt-helper /process.txt .
189189
COPY --from=tilt-helper /start.sh .

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/cluster-api
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
66
github.com/MakeNowJust/heredoc v1.0.0

hack/ensure-go.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ EOF
3838
local go_version
3939
IFS=" " read -ra go_version <<< "$(go version)"
4040
local minimum_go_version
41-
minimum_go_version=go1.23
41+
minimum_go_version=go1.24
4242
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
4343
cat <<EOF
4444
Detected go version: ${go_version[*]}.

hack/tools/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/cluster-api/hack/tools
22

3-
go 1.23.0
3+
go 1.24.0
44

55
replace sigs.k8s.io/cluster-api => ../../
66

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
publish = "docs/book/book"
55

66
[build.environment]
7-
GO_VERSION = "1.23.8"
7+
GO_VERSION = "1.24.0"
88

99
# Standard Netlify redirects
1010
[[redirects]]

test/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module sigs.k8s.io/cluster-api/test
22

3-
go 1.23.0
3+
go 1.24.0
44

55
replace sigs.k8s.io/cluster-api => ../
66

0 commit comments

Comments
 (0)