Merge pull request #13738 from subhamkrai/add-go-1.22
build: add support for go 1.22
This commit is contained in:
5 files changed
+3501
-755
No files matched your search
@@ -71,7 +71,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ["1.21"]
|
||||
go-version: ["1.21","1.22"]
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -32,7 +32,7 @@ all: build
|
||||
|
||||
# Controller-gen version
|
||||
# f284e2e8... is master ahead of v0.5.0 which has ability to generate embedded objectmeta in CRDs
|
||||
CONTROLLER_GEN_VERSION=v0.11.3
|
||||
CONTROLLER_GEN_VERSION=v0.14.0
|
||||
|
||||
# Set GOBIN
|
||||
ifeq (,$(shell go env GOBIN))
|
||||
|
||||
@@ -48,7 +48,7 @@ GO_TEST_FLAGS ?=
|
||||
# ====================================================================================
|
||||
# Setup go environment
|
||||
|
||||
GO_SUPPORTED_VERSIONS ?= 1.21
|
||||
GO_SUPPORTED_VERSIONS ?= 1.21|1.22
|
||||
|
||||
GO_PACKAGES := $(foreach t,$(GO_SUBDIRS),$(GO_PROJECT)/$(t)/...)
|
||||
GO_INTEGRATION_TEST_PACKAGES := $(foreach t,$(GO_INTEGRATION_TESTS_SUBDIRS),$(GO_PROJECT)/$(t)/integration)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
+1749
-376
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user