Skip to content

Commit c6255f9

Browse files
authored
Update build (#245)
* Update Go minimum to 1.22. * Enable dependabot for github actions. * Bump promci action. Signed-off-by: SuperQ <[email protected]>
1 parent 7a990a7 commit c6255f9

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "monthly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "monthly"

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
go_version: ["1.21", "1.22"]
10+
go_version:
11+
- "1.22"
12+
- "1.23"
1113
container:
1214
image: quay.io/prometheus/golang-builder:${{ matrix.go_version }}-base
1315
env:
@@ -16,6 +18,6 @@ jobs:
1618
steps:
1719
- name: Checkout repository
1820
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
19-
- uses: prometheus/promci@v0.0.2
21+
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
2022
- uses: ./.github/promci/actions/setup_environment
2123
- run: make test

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/exporter-toolkit
22

3-
go 1.21
3+
go 1.22
44

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

0 commit comments

Comments
 (0)