From 3d5a68792c634d53fd21d575940639535a525d32 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Wed, 8 Mar 2023 20:45:50 +0100 Subject: [PATCH] Update Go to 1.20 Signed-off-by: Hidde Beydals --- .github/workflows/release.yaml | 2 +- .github/workflows/test.yaml | 2 +- CONTRIBUTING.md | 2 +- Dockerfile | 2 +- Makefile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fddf192..c0d5936 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,7 +34,7 @@ jobs: echo "version=${VERSION}" >> $GITHUB_OUTPUT - uses: actions/setup-go@v2 with: - go-version: 1.19.x + go-version: 1.20.x - uses: actions/cache@v2 with: path: ~/go/pkg/mod diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e18f102..f7eac22 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,7 +24,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.19.x + go-version: 1.20.x - name: Run tests run: make test - name: Check if working tree is dirty diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7abe790..51798fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ meeting](https://docs.google.com/document/d/1l_M0om0qUEN_NNiGgpqJ2tvsF2iioHkaARD ### How to run the test suite Prerequisites: -* go >= 1.19 +* go >= 1.20 * docker >= 20.10 * kustomize >= 4.4 diff --git a/Dockerfile b/Dockerfile index ede9131..b9fe64b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.19 +ARG GO_VERSION=1.20 ARG XX_VERSION=1.1.0 FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx diff --git a/Makefile b/Makefile index 562c29d..019f50a 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ manifests: controller-gen # Run go tidy to cleanup go.mod tidy: - rm -f go.sum; go mod tidy -compat=1.19 + rm -f go.sum; go mod tidy -compat=1.20 # Run go fmt against code fmt: