Skip to content

Commit b157309

Browse files
prombotkakkoyun
andauthored
Update common Prometheus files (#1832)
Signed-off-by: prombot <prometheus-team@googlegroups.com> Signed-off-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com> Co-authored-by: Kemal Akkoyun <kakkoyun@users.noreply.github.com>
1 parent a704e28 commit b157309

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
with:
29+
persist-credentials: false
2830
- name: Install Go
29-
uses: actions/setup-go@fa96338abe5531f6e34c5cc0bbe28c1a533d5505 # v5.4.0
31+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3032
with:
3133
go-version: 1.24.x
3234
- name: Install snmp_exporter/generator dependencies
@@ -36,4 +38,4 @@ jobs:
3638
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
3739
with:
3840
args: --verbose
39-
version: v2.1.5
41+
version: v2.2.1

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161
SKIP_GOLANGCI_LINT :=
6262
GOLANGCI_LINT :=
6363
GOLANGCI_LINT_OPTS ?=
64-
GOLANGCI_LINT_VERSION ?= v2.1.5
64+
GOLANGCI_LINT_VERSION ?= v2.2.1
6565
GOLANGCI_FMT_OPTS ?=
6666
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
6767
# windows isn't included here because of the path separator being different.

0 commit comments

Comments
 (0)