From cfc3eb83fe691d3f3c2efc4411e516cc12679e6d Mon Sep 17 00:00:00 2001 From: SuperQ Date: Fri, 26 Jan 2024 22:22:22 +0100 Subject: [PATCH] Update build * Update Go to 1.21. * Update minimum Go version to 1.20. Signed-off-by: SuperQ --- .circleci/config.yml | 2 +- .promu.yml | 3 +-- go.mod | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 863d0fa3..9005e352 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ executors: # also be updated. golang: docker: - - image: quay.io/prometheus/golang-builder:1.20-base + - image: quay.io/prometheus/golang-builder:1.21-base jobs: test: executor: golang diff --git a/.promu.yml b/.promu.yml index c5c92ea2..a4acaa63 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,13 +1,12 @@ --- go: # This must match .circle/config.yml. - version: 1.20 + version: 1.21 repository: path: github.com/prometheus-community/prom-label-proxy build: binaries: - name: prom-label-proxy - flags: -tags 'netgo' # yamllint disable rule:line-length ldflags: | -X github.com/prometheus/common/version.Version={{.Version}} diff --git a/go.mod b/go.mod index c9a424ff..c1e4a555 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/prometheus-community/prom-label-proxy -go 1.19 +go 1.20 require ( github.com/efficientgo/core v1.0.0-rc.2