Skip to content

Commit 763c5f8

Browse files
authored
Update Go (#828)
* Update Go to 1.21. * Update minimum Go to 1.20. * Remove obsolete Go flag overrides. Signed-off-by: SuperQ <[email protected]>
1 parent af205b4 commit 763c5f8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ executors:
66
# This must match .promu.yml.
77
golang:
88
docker:
9-
- image: cimg/go:1.20
9+
- image: cimg/go:1.21
1010
jobs:
1111
test:
1212
executor: golang

.promu.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
go:
22
# This must match .circle/config.yml.
3-
version: 1.20
3+
version: 1.21
44
repository:
55
path: github.com/prometheus-community/elasticsearch_exporter
66
build:
77
binaries:
88
- name: elasticsearch_exporter
9-
flags: -a -tags netgo
109
ldflags: |
1110
-s
1211
-X github.com/prometheus/common/version.Version={{.Version}}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/prometheus-community/elasticsearch_exporter
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/alecthomas/kingpin/v2 v2.4.0

0 commit comments

Comments
 (0)