Merge pull request #108 from lestrrat-go/golangci-lint

Add a lint action
This commit is contained in:
Masaaki Goshima 2021-02-08 15:28:55 +09:00 committed by GitHub
commit 13751b0f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
.github/workflows/lint.yml vendored Normal file
View File

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