Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
This commit is contained in:
parent
868ec2137f
commit
0291563b9f
|
@ -1,7 +1,7 @@
|
||||||
version: 2.1
|
version: 2.1
|
||||||
orbs:
|
orbs:
|
||||||
go: circleci/go@0.2.0
|
go: circleci/go@0.2.0
|
||||||
prometheus: prometheus/prometheus@0.15.0
|
prometheus: prometheus/prometheus@0.16.0
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
@ -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