File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,16 @@ jobs:
2424 runs-on : ubuntu-latest
2525 steps :
2626 - name : Checkout repository
27- uses : actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
28- - name : install Go
27+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
28+ - name : Install Go
2929 uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3030 with :
3131 go-version : 1.22.x
3232 - name : Install snmp_exporter/generator dependencies
3333 run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
3434 if : github.repository == 'prometheus/snmp_exporter'
3535 - name : Lint
36- uses : golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
36+ uses : golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
3737 with :
38- version : v1.56.2
38+ args : --verbose
39+ version : v1.59.0
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 ?= v1.56.2
64+ GOLANGCI_LINT_VERSION ?= v1.59.0
6565# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
6666# windows isn't included here because of the path separator being different.
6767ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
You can’t perform that action at this time.
0 commit comments