Skip to content

Commit d0eb6fd

Browse files
prombotslrtbtfs
authored andcommitted
Update common Prometheus files
Signed-off-by: prombot <[email protected]>
1 parent 9eac3ea commit d0eb6fd

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed
Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
name: golangci-lint
22
on:
33
push:
4-
tags:
5-
- v*
6-
branches:
7-
- master
4+
paths:
5+
- "go.sum"
6+
- "go.mod"
7+
- "**.go"
8+
- "scripts/errcheck_excludes.txt"
9+
- ".github/workflows/golangci-lint.yml"
810
pull_request:
11+
paths:
12+
- "go.sum"
13+
- "go.mod"
14+
- "**.go"
15+
- "scripts/errcheck_excludes.txt"
16+
- ".github/workflows/golangci-lint.yml"
17+
918
jobs:
1019
golangci:
1120
name: lint
@@ -15,8 +24,4 @@ jobs:
1524
- name: golangci-lint
1625
uses: golangci/golangci-lint-action@v3
1726
with:
18-
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
19-
version: v1.29
20-
only_new_issues: true
21-
# Optional: golangci-lint command line arguments.
22-
# args: ./the-only-dir-to-analyze/...
27+
version: v1.42.0

0 commit comments

Comments
 (0)