From a3200417e2529cdabcd82644795029ecb159bedb Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Sat, 16 Mar 2024 08:54:43 -0700 Subject: [PATCH] Use Go 1.22 Signed-off-by: Tamal Saha --- .github/workflows/release.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 194a548..81eff77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,10 +31,10 @@ jobs: - uses: actions/checkout@v1 - run: git checkout -b release-${GITHUB_REF_NAME} - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v1 with: - go-version: '1.21' + go-version: '1.22' id: go - name: Set up QEMU diff --git a/Makefile b/Makefile index a3a84ec..33cc542 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ NPROCS ?= 1 # to half the number of CPU cores. GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 ))) -GO_REQUIRED_VERSION ?= 1.20 +GO_REQUIRED_VERSION ?= 1.22 GOLANGCILINT_VERSION ?= 1.50.0 GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/provider $(GO_PROJECT)/cmd/generator GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.Version=$(VERSION)