forked from mirror/go-json
Merge pull request #108 from lestrrat-go/golangci-lint
Add a lint action
This commit is contained in:
commit
13751b0f6f
|
@ -0,0 +1,12 @@
|
||||||
|
name: lint
|
||||||
|
on: [pull_request, push]
|
||||||
|
jobs:
|
||||||
|
golangci:
|
||||||
|
name: lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: golangci/golangci-lint-action@v2
|
||||||
|
with:
|
||||||
|
version: v1.36.0
|
||||||
|
args: --timeout=5m
|
Loading…
Reference in New Issue