Upgrade Golang to version 1.21

Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
This commit is contained in:
clarklee92 2024-06-04 12:03:59 +08:00 committed by ChrisLiu
parent ad0744df7a
commit 08ce8f6fcd
3 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@ on:
env:
# Common versions
GO_VERSION: '1.19'
GOLANGCI_VERSION: 'v1.51'
GO_VERSION: '1.21'
GOLANGCI_VERSION: 'v1.58'
DOCKER_BUILDX_VERSION: 'v0.4.2'
# Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run

View File

@ -10,7 +10,7 @@ on:
env:
# Common versions
GO_VERSION: '1.19'
GO_VERSION: '1.21'
KIND_ACTION_VERSION: 'v1.3.0'
KIND_VERSION: 'v0.14.0'
KIND_IMAGE: 'kindest/node:v1.26.4'

View File

@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.19 as builder
FROM golang:1.21 as builder
WORKDIR /workspace
# Copy the Go Modules manifests