require go 1.19, test with 1.20 too (#1935)
This commit is contained in:
parent
ff88faf402
commit
6b71da6b78
2
.github/workflows/go-tests.yml
vendored
2
.github/workflows/go-tests.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.18, 1.x]
|
go-version: ["1.19", "1.20.0-rc.1"]
|
||||||
|
|
||||||
name: "Build + tests"
|
name: "Build + tests"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -45,7 +45,7 @@ CSCLI_BIN = cscli$(EXT)
|
||||||
BUILD_CMD = build
|
BUILD_CMD = build
|
||||||
|
|
||||||
MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
|
MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
|
||||||
MINIMUM_SUPPORTED_GO_MINOR_VERSION = 18
|
MINIMUM_SUPPORTED_GO_MINOR_VERSION = 19
|
||||||
|
|
||||||
go_major_minor = $(subst ., ,$(BUILD_GOVERSION))
|
go_major_minor = $(subst ., ,$(BUILD_GOVERSION))
|
||||||
GO_MAJOR_VERSION = $(word 1, $(go_major_minor))
|
GO_MAJOR_VERSION = $(word 1, $(go_major_minor))
|
||||||
|
|
Loading…
Reference in a new issue