Skip to content

Commit 1b73de4

Browse files
authored
Merge pull request #152 from sysdiglabs/dependabot/docker/golang-1.25.1
Bump golang from 1.24.6 to 1.25.1
2 parents 81c09c4 + d7c9a68 commit 1b73de4

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
username: ${{ secrets.QUAY_UBI_READONLY_USERNAME }}
3434
password: ${{ secrets.QUAY_UBI_READONLY_PASSWORD }}
3535
- name: build
36-
uses: sysdiglabs/exporter-builder@v1.1
36+
uses: sysdiglabs/exporter-builder@v1.2
3737
with:
3838
exporter: postgresql-exporter
3939
artifactory_token: ${{ secrets.GAR_DEV_RW_JSON_KEY }}

.github/workflows/golangci-lint.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
# This action is synced from https://github.com/prometheus/prometheus
3+
version: 1
34
name: golangci-lint
45
on:
56
push:
@@ -25,11 +26,11 @@ jobs:
2526
- name: install Go
2627
uses: actions/setup-go@v5
2728
with:
28-
go-version: 1.23.7
29+
go-version: 1.25.x
2930
- name: Install snmp_exporter/generator dependencies
3031
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
3132
if: github.repository == 'prometheus/snmp_exporter'
3233
- name: Lint
33-
uses: golangci/golangci-lint-action@v6
34+
uses: golangci/golangci-lint-action@v8
3435
with:
35-
version: v1.64
36+
version: v2.4.0

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
username: ${{ secrets.QUAY_UBI_READONLY_USERNAME }}
2121
password: ${{ secrets.QUAY_UBI_READONLY_PASSWORD }}
2222
- name: build
23-
uses: sysdiglabs/exporter-builder@v1.1
23+
uses: sysdiglabs/exporter-builder@v1.2
2424
with:
2525
exporter: postgresql-exporter
2626
artifactory_token: ${{ secrets.GAR_DEV_RW_JSON_KEY }}
2727
artifactory_username: _json_key
2828
sysdig_secure_token: ${{ secrets.SYSDIG_SECURE_TOKEN }}
2929
tag_name: ${{ github.event.release.tag_name }}
3030
target: ${{ matrix.docker }}
31-
repository: us-docker.pkg.dev
31+
repository: us-docker.pkg.dev

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24.6 AS base
1+
FROM golang:1.25.1 AS base
22
ARG VERSION
33
ARG GIT_COMMIT
44
ARG DATE

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.23.7
3+
go 1.25.0
64

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

0 commit comments

Comments
 (0)