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:
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@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # 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
3335 run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
3436 if : github.repository == 'prometheus/snmp_exporter'
3537 - name : Lint
36- uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7 .0.0
38+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8 .0.0
3739 with :
3840 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_
6161SKIP_GOLANGCI_LINT :=
6262GOLANGCI_LINT :=
6363GOLANGCI_LINT_OPTS ?=
64- GOLANGCI_LINT_VERSION ?= v2.1.5
64+ GOLANGCI_LINT_VERSION ?= v2.2.1
6565GOLANGCI_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.
You can’t perform that action at this time.
0 commit comments