Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
* Update Go to 1.21.
* Update minimum Go version to 1.20.

Signed-off-by: SuperQ <[email protected]>
  • Loading branch information
SuperQ committed Jan 26, 2024
1 parent 2861938 commit cfc3eb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .promu.yml
Original file line number Diff line number Diff line change
@@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cfc3eb8

Please sign in to comment.