build: add support for go 1.22
Backport PR:Few day's back go 1.22 is release. Let's add that as valid version to build on. Also, adding 1.22 as test matric for linux build CI. https://tip.golang.org/doc/go1.22 Signed-off-by: subhamkrai <srai@redhat.com> Signed-off-by: smoshiur1237 <moshiur.rahman@est.tech>
This commit is contained in:
1 parent
8f03dcfd1f
commit
729323e109
2 files changed
+2
-2
No files matched your search
@@ -77,7 +77,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ["1.21","1.20"]
|
||||
go-version: ["1.21", "1.20"]
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -48,7 +48,7 @@ GO_TEST_FLAGS ?=
|
||||
# ====================================================================================
|
||||
# Setup go environment
|
||||
|
||||
GO_SUPPORTED_VERSIONS ?= 1.21|1.20
|
||||
GO_SUPPORTED_VERSIONS ?= 1.20|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)
|
||||
|
||||
Reference in new issue
Block a user