mirror of
https://github.com/prometheus-community/json_exporter
synced 2025-01-27 17:42:45 +00:00
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
This commit is contained in:
parent
5345896f70
commit
af425edb75
@ -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:
|
||||||
|
11
.github/workflows/golangci-lint.yml
vendored
11
.github/workflows/golangci-lint.yml
vendored
@ -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
|
||||||
|
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user