From 6b71da6b7847937873a37af34d750b566c579d47 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Wed, 21 Dec 2022 15:40:29 +0100 Subject: [PATCH] require go 1.19, test with 1.20 too (#1935) --- .github/workflows/go-tests.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 55deb66ec..6af27ada8 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -36,7 +36,7 @@ jobs: build: strategy: matrix: - go-version: [1.18, 1.x] + go-version: ["1.19", "1.20.0-rc.1"] name: "Build + tests" runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 897bb00df..6983da65f 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ CSCLI_BIN = cscli$(EXT) BUILD_CMD = build 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_VERSION = $(word 1, $(go_major_minor))