From 489e37cd3624cec3a9164c3cf30d5837788f5f0c Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Fri, 14 Apr 2023 07:31:37 +0200 Subject: [PATCH] Bump golang to 1.20 --- .github/workflows/ci.yaml | 2 +- builder/Dockerfile | 2 +- cluster-autoscaler/go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7a6bb722d9..aff975642a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: '>=1.20.0' - uses: actions/checkout@v2 with: diff --git a/builder/Dockerfile b/builder/Dockerfile index 6f7bf98a9d..cb58024801 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.19 +FROM golang:1.20 LABEL maintainer="Marcin Wielgus " ENV GOPATH /gopath/ diff --git a/cluster-autoscaler/go.mod b/cluster-autoscaler/go.mod index 5396a9505a..9db45514a0 100644 --- a/cluster-autoscaler/go.mod +++ b/cluster-autoscaler/go.mod @@ -1,6 +1,6 @@ module k8s.io/autoscaler/cluster-autoscaler -go 1.19 +go 1.20 require ( cloud.google.com/go/compute/metadata v0.2.3