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 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'
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-
4335 - name : Lint
44- if : steps.go-changes.outputs.go == 'true'
4536 uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7.0.0
4637 with :
4738 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_
6161SKIP_GOLANGCI_LINT :=
6262GOLANGCI_LINT :=
6363GOLANGCI_LINT_OPTS ?=
64- GOLANGCI_LINT_VERSION ?= v2.0.2
64+ GOLANGCI_LINT_VERSION ?= v2.1.5
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