Merge pull request #13738 from subhamkrai/add-go-1.22

build: add support for go 1.22
This commit is contained in:
Travis Nielsen authored and GitHub committed 2024-03-27 08:27:10 -06:00
commit a08f1f03fc
5 files changed
+3501 -755

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -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
View File
File diff suppressed because it is too large. Load diff