require go 1.19, test with 1.20 too (#1935)

This commit is contained in:
mmetc 2022-12-21 15:40:29 +01:00 committed by GitHub
parent ff88faf402
commit 6b71da6b78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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))