From 6767de6d5984d4a3b96cb8af2dae9f357896328e Mon Sep 17 00:00:00 2001 From: Shaun Crampton Date: Wed, 10 Apr 2024 16:18:28 +0100 Subject: [PATCH] Bump Golang to v1.22.2. --- .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 c1e69c5..ef8b3f2 100644 --- a/.github/workflows/buildTests.yaml +++ b/.github/workflows/buildTests.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - go: [ "1.21.8" ] + go: [ "1.22.2" ] 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 275614d..868b242 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ on: - created env: - GO_VERSION: "1.21.8" + GO_VERSION: "1.22.2" REPOSITORY: flannel/flannel-cni-plugin jobs: diff --git a/Makefile b/Makefile index b5ceecd..54e4135 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ else endif # Go version to use for builds. Can be overridden -GOLANG_VERSION?=1.21.8 +GOLANG_VERSION?=1.22.2 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 2692c3d..2ea4e8d 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.21.8} +GOLANG_VERSION=${GOLANG_VERSION:-1.22.2} if [ -d .git ]; then if [ -z "${GIT_TAG}" ]; then