Skip to content

Commit 8b01e7d

Browse files
authored
Update common Prometheus files (#270)
Signed-off-by: prombot <[email protected]>
1 parent b97f41d commit 8b01e7d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/golangci-lint.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
2222
- name: install Go
23-
uses: actions/setup-go@v3
23+
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2424
with:
2525
go-version: 1.20.x
2626
- name: Install snmp_exporter/generator dependencies
2727
run: sudo apt-get update && sudo apt-get -y install libsnmp-dev
2828
if: github.repository == 'prometheus/snmp_exporter'
2929
- name: Lint
30-
uses: golangci/golangci-lint-action@v3.4.0
30+
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
3131
with:
32-
version: v1.53.3
32+
version: v1.54.2

Makefile.common

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161
SKIP_GOLANGCI_LINT :=
6262
GOLANGCI_LINT :=
6363
GOLANGCI_LINT_OPTS ?=
64-
GOLANGCI_LINT_VERSION ?= v1.53.3
64+
GOLANGCI_LINT_VERSION ?= v1.54.2
6565
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
6666
# windows isn't included here because of the path separator being different.
6767
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))

0 commit comments

Comments
 (0)