Skip to content

Commit

Permalink
Update build (#245)
Browse files Browse the repository at this point in the history
* Update Go minimum to 1.22.
* Enable dependabot for github actions.
* Bump promci action.

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ authored Sep 3, 2024
1 parent 7a990a7 commit c6255f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go_version: ["1.21", "1.22"]
go_version:
- "1.22"
- "1.23"
container:
image: quay.io/prometheus/golang-builder:${{ matrix.go_version }}-base
env:
Expand All @@ -16,6 +18,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: prometheus/promci@v0.0.2
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0
- uses: ./.github/promci/actions/setup_environment
- run: make test
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/exporter-toolkit

go 1.21
go 1.22

require (
github.com/alecthomas/kingpin/v2 v2.4.0
Expand Down

0 comments on commit c6255f9

Please sign in to comment.