Merge pull request #532 from prometheus/superq/update_build

Update build
This commit is contained in:
Matthias Rampke 2024-01-15 21:25:53 +01:00 committed by GitHub
commit 8fdc626bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -5,7 +5,7 @@ executors:
# Whenever the Go version is updated here, .promu.yml should also be updated.
golang:
docker:
- image: cimg/go:1.19
- image: cimg/go:1.21
jobs:
test:
executor: golang

View file

@ -1,11 +1,10 @@
go:
# Whenever the Go version is updated here, .circle/config.yml should also
# be updated.
version: 1.19
version: 1.21
repository:
path: github.com/prometheus/statsd_exporter
build:
flags: -a -tags 'netgo static_build'
ldflags: |
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/prometheus/statsd_exporter
go 1.18
go 1.20
require (
github.com/alecthomas/kingpin/v2 v2.4.0