File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,17 @@ jobs:
25
25
steps :
26
26
- name : Checkout repository
27
27
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
+ with :
29
+ persist-credentials : false
28
30
- name : Install Go
29
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
31
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
30
32
with :
31
33
go-version : 1.24.x
32
34
- name : Install snmp_exporter/generator dependencies
33
35
run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
34
36
if : github.repository == 'prometheus/snmp_exporter'
35
37
- name : Lint
36
- uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7 .0.0
38
+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8 .0.0
37
39
with :
38
40
args : --verbose
39
- version : v2.1.5
41
+ version : v2.2.1
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
61
61
SKIP_GOLANGCI_LINT :=
62
62
GOLANGCI_LINT :=
63
63
GOLANGCI_LINT_OPTS ?=
64
- GOLANGCI_LINT_VERSION ?= v2.1.5
64
+ GOLANGCI_LINT_VERSION ?= v2.2.1
65
65
GOLANGCI_FMT_OPTS ?=
66
66
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
67
67
# windows isn't included here because of the path separator being different.
You can’t perform that action at this time.
0 commit comments