Skip to content

Commit 08d3a7e

Browse files
committed
Upgrade golang version (1.19.6 -> 1.20.3)
Signed-off-by: Prajyot-Parab <[email protected]>
1 parent 4df2e09 commit 08d3a7e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
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.19"
3+
go: "1.20"
44
build-tags:
55
- tools
66
- e2e

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.19.6
26+
GO_VERSION ?= 1.20.3
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
@@ -165,7 +165,7 @@ def load_provider_tiltfiles():
165165

166166
tilt_helper_dockerfile_header = """
167167
# Tilt image
168-
FROM golang:1.19.6 as tilt-helper
168+
FROM golang:1.20.3 as tilt-helper
169169
# Support live reloading with Tilt
170170
RUN go install github.com/go-delve/delve/cmd/dlv@latest
171171
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/restart.sh && \

docs/book/src/developer/providers/migrations/v1.4-to-v1.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ maintainers of providers and consumers of our Go API.
55

66
## Minimum Go version
77

8-
- The Go version used by Cluster API is still Go 1.19.x
8+
- The Go version used by Cluster API is Go 1.20.x
99

1010
## Dependencies
1111

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.19
41+
minimum_go_version=go1.20.3
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.19"
7+
GO_VERSION = "1.20"
88

99
# Standard Netlify redirects
1010
[[redirects]]

0 commit comments

Comments
 (0)