From 0b253ec47ede9917813bb746b587cd61f2a6b6c1 Mon Sep 17 00:00:00 2001 From: Pedro Coutinho Date: Wed, 27 Mar 2024 14:28:32 -0700 Subject: [PATCH] Update to golang 1.21.8 --- .github/workflows/buildTests.yaml | 2 +- .github/workflows/release.yml | 2 +- Makefile | 2 +- scripts/version.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildTests.yaml b/.github/workflows/buildTests.yaml index 9ebb291..c1e69c5 100644 --- a/.github/workflows/buildTests.yaml +++ b/.github/workflows/buildTests.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - go: [ "1.20.12" ] + go: [ "1.21.8" ] steps: - name: Check out code into the Go module directory uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9175391..275614d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ on: - created env: - GO_VERSION: "1.20.12" + GO_VERSION: "1.21.8" REPOSITORY: flannel/flannel-cni-plugin jobs: diff --git a/Makefile b/Makefile index 07e3d79..b5ceecd 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ else endif # Go version to use for builds. Can be overridden -GOLANG_VERSION?=1.20.12 +GOLANG_VERSION?=1.21.8 build_all: vendor build_all_linux build_windows @echo "All arches should be built for $(TAG)" diff --git a/scripts/version.sh b/scripts/version.sh index c6a9ff6..2692c3d 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -34,7 +34,7 @@ PLATFORM=${GOOS}-${GOARCH} RELEASE=${PROG}-${GOARCH} # hardcode versions unless set specifically VERSION=${VERSION:-v1.0.0} -GOLANG_VERSION=${GOLANG_VERSION:-1.20.12} +GOLANG_VERSION=${GOLANG_VERSION:-1.21.8} if [ -d .git ]; then if [ -z "${GIT_TAG}" ]; then