Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
This commit is contained in:
parent
4917e1a451
commit
e9feae971a
|
@ -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:
|
||||||
# Whenever the Go version is updated here, .promu.yml and .promu-cgo.yml
|
# Whenever the Go version is updated here, .promu.yml and .promu-cgo.yml
|
||||||
# should also be updated.
|
# should also be updated.
|
||||||
|
|
|
@ -9,13 +9,6 @@ on:
|
||||||
- ".github/workflows/golangci-lint.yml"
|
- ".github/workflows/golangci-lint.yml"
|
||||||
- ".golangci.yml"
|
- ".golangci.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
|
||||||
- "go.sum"
|
|
||||||
- "go.mod"
|
|
||||||
- "**.go"
|
|
||||||
- "scripts/errcheck_excludes.txt"
|
|
||||||
- ".github/workflows/golangci-lint.yml"
|
|
||||||
- ".golangci.yml"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
golangci:
|
golangci:
|
||||||
|
@ -24,8 +17,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: install Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.17.x
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
version: v1.44.2
|
version: v1.44.2
|
||||||
|
|
Loading…
Reference in New Issue