Skip to content

Commit a2c1355

Browse files
authored
Update build (#185)
* Update Go to 1.21. * Update minimum Go version to 1.20. Signed-off-by: SuperQ <[email protected]>
1 parent 2861938 commit a2c1355

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ executors:
77
# also be updated.
88
golang:
99
docker:
10-
- image: quay.io/prometheus/golang-builder:1.20-base
10+
- image: quay.io/prometheus/golang-builder:1.21-base
1111
jobs:
1212
test:
1313
executor: golang

.promu.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
go:
33
# This must match .circle/config.yml.
4-
version: 1.20
4+
version: 1.21
55
repository:
66
path: github.com/prometheus-community/prom-label-proxy
77
build:
88
binaries:
99
- name: prom-label-proxy
10-
flags: -tags 'netgo'
1110
# yamllint disable rule:line-length
1211
ldflags: |
1312
-X github.com/prometheus/common/version.Version={{.Version}}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/prometheus-community/prom-label-proxy
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/efficientgo/core v1.0.0-rc.2

0 commit comments

Comments
 (0)