build: add support for golang 1.24

rook now supports two recent version of golang
i.e 1.23, 1.24 and also run canary test on go 1.24

Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
subhamkrai
2025-03-18 22:08:06 +05:30
parent e5f1d9f589
commit 3bbfe8a70e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.22", "1.23"]
go-version: ["1.23", "1.24"]
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -7,7 +7,7 @@ runs:
- name: setup golang
uses: actions/setup-go@v5
with:
go-version: "1.23"
go-version: "1.24"
- name: Setup Minikube
shell: bash --noprofile --norc -eo pipefail -x {0}
+1 -1
View File
@@ -48,7 +48,7 @@ GO_TEST_FLAGS ?=
# ====================================================================================
# Setup go environment
GO_SUPPORTED_VERSIONS ?= 1.22|1.23
GO_SUPPORTED_VERSIONS ?= 1.23|1.24
GO_PACKAGES := $(foreach t,$(GO_SUBDIRS),$(GO_PROJECT)/$(t)/...)
GO_INTEGRATION_TEST_PACKAGES := $(foreach t,$(GO_INTEGRATION_TESTS_SUBDIRS),$(GO_PROJECT)/$(t)/integration)