File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 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
- - name : Check for Go file changes
36
- id : go-changes
37
- uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
38
- with :
39
- filters : |
40
- go:
41
- - '**/*.go'
42
-
43
35
- name : Lint
44
- if : steps.go-changes.outputs.go == 'true'
45
36
uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
46
37
with :
47
38
args : --verbose
48
- version : v2.0.2
39
+ version : v2.1.5
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.0.2
64
+ GOLANGCI_LINT_VERSION ?= v2.1.5
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