Update common Prometheus files

Signed-off-by: prombot <prometheus-team@googlegroups.com>
This commit is contained in:
prombot 2022-03-16 19:50:27 +00:00 committed by Johannes 'fish' Ziemke
parent 4917e1a451
commit e9feae971a
2 changed files with 6 additions and 10 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:
# 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.

View File

@ -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