Merge pull request #163 from negz/woof

Add a Reviewdog Github action
This commit is contained in:
Nic Cope 2020-04-26 17:16:31 -07:00 committed by GitHub
commit 3dbd603092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

13
.github/workflows/reviewdog.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Reviewdog
on: [pull_request]
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run golangci-lint
uses: reviewdog/action-golangci-lint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}