From 0cbea8ce5574434e398a88ceb9485a9062f4f9e8 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 2 Nov 2023 20:57:40 -0400 Subject: [PATCH] Bump Go to 1.20.10 --- .golangci.yml | 4 ++-- Containerfile | 2 +- Dockerfile | 2 +- versions.mk | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index db45eb6083..dd62b87cb9 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -130,9 +130,9 @@ linters-settings: # https://github.com/golangci/golangci-lint/issues/3228 allow-unused: true staticcheck: - go: "1.17" + go: "1.20" stylecheck: - go: "1.17" + go: "1.20" nestif: # minimal complexity of if statements to report, 5 by default # TODO(sbuerin) fix remaining findings and set to 5 after: diff --git a/Containerfile b/Containerfile index 720515bb94..b3d2417f39 100644 --- a/Containerfile +++ b/Containerfile @@ -24,7 +24,7 @@ # media type: "application/vnd.oci.image.layer.v1.tar+gzip" # Build the manager binary -FROM golang:1.19.6 as builder +FROM golang:1.20.10 as builder WORKDIR /workspace # Run this with docker build --build_arg goproxy=$(go env GOPROXY) to override the goproxy diff --git a/Dockerfile b/Dockerfile index 1c3469aadb..a7e705ab95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # Build the manager binary -FROM golang:1.19.6 as builder +FROM golang:1.20.10 as builder WORKDIR /workspace # Run this with docker build --build_arg goproxy=$(go env GOPROXY) to override the goproxy diff --git a/versions.mk b/versions.mk index 52de2ca5f8..e780b357d6 100644 --- a/versions.mk +++ b/versions.mk @@ -13,6 +13,6 @@ # limitations under the License. MDBOOK_VERSION := v0.4.5 -GOLANG_VERSION := 1.19.6 +GOLANG_VERSION := 1.20.10 PLANTUML_VERSION := 1.2022.6 GH_VERSION := 1.2.0