From b5053d26597b1c8d96f943439a03155180bb123d Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sun, 10 Sep 2023 10:19:05 +0000 Subject: [PATCH] build: use Go 1.21 --- .circleci/config.yml | 8 ++++---- Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3751bc5..7e8283c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -94,7 +94,7 @@ parameters: release_docker_baseimage_tag: type: string - default: "1.19" + default: "1.21" workflows: version: 2 @@ -104,15 +104,15 @@ workflows: jobs: - quickcheck-docs - quickcheck-go: &quickcheck-go-smoketest - name: quickcheck-go-amd64-linux-1.19 - goversion: &latest-go-release "1.19" + name: quickcheck-go-amd64-linux-1.21 + goversion: &latest-go-release "1.21" goos: linux goarch: amd64 - test-go-on-latest-go-release: goversion: *latest-go-release - quickcheck-go: requires: - - quickcheck-go-amd64-linux-1.19 #quickcheck-go-smoketest.name + - quickcheck-go-amd64-linux-1.21 #quickcheck-go-smoketest.name matrix: &quickcheck-go-matrix alias: quickcheck-go-matrix parameters: diff --git a/Makefile b/Makefile index 4bb01a2..66949f1 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ GO_BUILDFLAGS := $(GO_MOD_READONLY) $(GO_EXTRA_BUILDFLAGS) GO_BUILD := $(GO_ENV_VARS) $(GO) build $(GO_BUILDFLAGS) -ldflags $(GO_LDFLAGS) GOLANGCI_LINT := golangci-lint GOCOVMERGE := gocovmerge -RELEASE_DOCKER_BASEIMAGE_TAG ?= 1.19 +RELEASE_DOCKER_BASEIMAGE_TAG ?= 1.21 RELEASE_DOCKER_BASEIMAGE ?= golang:$(RELEASE_DOCKER_BASEIMAGE_TAG) ifneq ($(GOARM),)