Skip to content

Commit a1fa8c6

Browse files
committed
Update Go
* Update minimum supported Go to 1.24.0. * Update Go build to 1.25.x. * Update PostgreSQL testing versions. Signed-off-by: SuperQ <[email protected]>
1 parent b4c5250 commit a1fa8c6

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

.circleci/config.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ executors:
88
# This must match .promu.yml.
99
golang:
1010
docker:
11-
- image: cimg/go:1.24
11+
- image: cimg/go:1.25
1212

1313
jobs:
1414
test:
@@ -23,7 +23,7 @@ jobs:
2323

2424
integration:
2525
docker:
26-
- image: cimg/go:1.24
26+
- image: cimg/go:1.25
2727
- image: << parameters.postgres_image >>
2828
environment:
2929
POSTGRES_DB: circle_test
@@ -57,13 +57,12 @@ workflows:
5757
matrix:
5858
parameters:
5959
postgres_image:
60-
- circleci/postgres:11
61-
- circleci/postgres:12
62-
- circleci/postgres:13
63-
- cimg/postgres:14.9
64-
- cimg/postgres:15.4
65-
- cimg/postgres:16.0
66-
- cimg/postgres:17.0
60+
- cimg/postgres:13.22
61+
- cimg/postgres:14.19
62+
- cimg/postgres:15.14
63+
- cimg/postgres:16.10
64+
- cimg/postgres:17.6
65+
- cimg/postgres:18.0
6766
- prometheus/build:
6867
name: build
6968
parallelism: 3

.promu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
go:
22
# This must match .circle/config.yml.
3-
version: 1.24
3+
version: 1.25
44
repository:
55
path: github.com/prometheus-community/postgres_exporter
66
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Prometheus exporter for PostgreSQL server metrics.
99

10-
CI Tested PostgreSQL versions: `11`, `12`, `13`, `14`, `15`, `16`, `17`.
10+
CI Tested PostgreSQL versions: `13`, `14`, `15`, `16`, `17`, `18`.
1111

1212
## Quick Start
1313
This package is available for Docker:

go.mod

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

3-
go 1.23.0
4-
5-
toolchain go1.24.1
3+
go 1.24.0
64

75
require (
86
github.com/DATA-DOG/go-sqlmock v1.5.2

0 commit comments

Comments
 (0)