Merge pull request #988 from cli/fix-linter-from-prs
Enable linting for pull requests
This commit is contained in:
commit
fd49cf69e2
1 changed files with 3 additions and 1 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -1,10 +1,12 @@
|
|||
name: Lint
|
||||
on:
|
||||
push:
|
||||
push: &paths
|
||||
paths:
|
||||
- "**.go"
|
||||
- go.mod
|
||||
- go.sum
|
||||
pull_request:
|
||||
<<: *paths
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue