File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,16 @@ jobs:
24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
- 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
29
29
uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
30
30
with :
31
31
go-version : 1.22.x
32
32
- name : Install snmp_exporter/generator dependencies
33
33
run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
34
34
if : github.repository == 'prometheus/snmp_exporter'
35
35
- name : Lint
36
- uses : golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc # v5.1.0
36
+ uses : golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
37
37
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_
61
61
SKIP_GOLANGCI_LINT :=
62
62
GOLANGCI_LINT :=
63
63
GOLANGCI_LINT_OPTS ?=
64
- GOLANGCI_LINT_VERSION ?= v1.56.2
64
+ GOLANGCI_LINT_VERSION ?= v1.59.0
65
65
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
66
66
# windows isn't included here because of the path separator being different.
67
67
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
You can’t perform that action at this time.
0 commit comments