Skip to content

Commit edf7197

Browse files
committed
Bump to Go 1.23
Signed-off-by: Stefan Büringer [email protected]
1 parent d993573 commit edf7197

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

.golangci.yml

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

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ SHELL:=/usr/bin/env bash
2323
#
2424
# Go.
2525
#
26-
GO_VERSION ?= 1.22.10
27-
GO_DIRECTIVE_VERSION ?= 1.22.0
26+
GO_VERSION ?= 1.23.0
27+
GO_DIRECTIVE_VERSION ?= 1.23.0
2828
GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
2929

30+
# Ensure correct toolchain is used
31+
GOTOOLCHAIN = go$(GO_VERSION)
32+
export GOTOOLCHAIN
33+
3034
# Use GOPROXY environment variable if set
3135
GOPROXY := $(shell go env GOPROXY)
3236
ifeq ($(GOPROXY),)

Tiltfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ def load_provider_tiltfiles():
184184

185185
tilt_helper_dockerfile_header = """
186186
# Tilt image
187-
FROM golang:1.22.10 as tilt-helper
187+
FROM golang:1.23.0 as tilt-helper
188188
# Install delve. Note this should be kept in step with the Go release minor version.
189-
RUN go install github.com/go-delve/delve/cmd/dlv@v1.22
189+
RUN go install github.com/go-delve/delve/cmd/dlv@v1.23
190190
# Support live reloading with Tilt
191191
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/restart.sh && \
192192
wget --output-document /start.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/start.sh && \
@@ -195,7 +195,7 @@ RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com
195195
"""
196196

197197
tilt_dockerfile_header = """
198-
FROM golang:1.22.10 as tilt
198+
FROM golang:1.23.0 as tilt
199199
WORKDIR /
200200
COPY --from=tilt-helper /process.txt .
201201
COPY --from=tilt-helper /start.sh .

hack/ensure-go.sh

Lines changed: 1 addition & 1 deletion
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.22
41+
minimum_go_version=go1.23
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[*]}.

netlify.toml

Lines changed: 1 addition & 1 deletion
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.22.4"
7+
GO_VERSION = "1.23.0"
88

99
# Standard Netlify redirects
1010
[[redirects]]

0 commit comments

Comments
 (0)