Skip to content

Commit a85ee6b

Browse files
committed
Bump Go to 1.18.3 for Tiltfile, Container Images, Netlify
Signed-off-by: Nabarun Pal <[email protected]>
1 parent 4e26957 commit a85ee6b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SHELL:=/usr/bin/env bash
2323
#
2424
# Go.
2525
#
26-
GO_VERSION ?= 1.17.3
26+
GO_VERSION ?= 1.18.3
2727
GO_CONTAINER_IMAGE ?= docker.io/library/golang:$(GO_VERSION)
2828

2929
# Use GOPROXY environment variable if set

Tiltfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ def load_provider_tiltfiles():
142142
provider_config["go_main"] = "main.go"
143143
providers[provider_name] = provider_config
144144

145+
145146
tilt_helper_dockerfile_header = """
146147
# Tilt image
147-
FROM golang:1.17.3 as tilt-helper
148+
FROM golang:1.18.3 as tilt-helper
148149
# Support live reloading with Tilt
149150
RUN go get github.com/go-delve/delve/cmd/dlv
150151
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \

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.16.0
34+
minimum_go_version=go1.18.3
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[*]}.

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.17"
7+
GO_VERSION = "1.18"
88

99
# Standard Netlify redirects
1010
[[redirects]]

0 commit comments

Comments
 (0)