Update common Prometheus files

Signed-off-by: prombot <prometheus-team@googlegroups.com>
This commit is contained in:
prombot 2022-04-28 19:51:02 +00:00
parent 5345896f70
commit af425edb75
3 changed files with 9 additions and 6 deletions

View File

@ -1,7 +1,7 @@
--- ---
version: 2.1 version: 2.1
orbs: orbs:
prometheus: prometheus/prometheus@0.15.0 prometheus: prometheus/prometheus@0.16.0
executors: executors:
# This must match .promu.yml. # This must match .promu.yml.
golang: golang:

View File

@ -17,8 +17,11 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: install Go
- name: Lint uses: actions/setup-go@v2
uses: golangci/golangci-lint-action@v2
with: with:
version: v1.44.2 go-version: 1.18.x
- name: Lint
uses: golangci/golangci-lint-action@v3.1.0
with:
version: v1.45.2

View File

@ -83,7 +83,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
GOLANGCI_LINT := GOLANGCI_LINT :=
GOLANGCI_LINT_OPTS ?= GOLANGCI_LINT_OPTS ?=
GOLANGCI_LINT_VERSION ?= v1.44.2 GOLANGCI_LINT_VERSION ?= v1.45.2
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64. # golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
# windows isn't included here because of the path separator being different. # windows isn't included here because of the path separator being different.
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))