Introduce reviewdog/action-golangci-lint
@@ -36,3 +36,15 @@ jobs:
run: |
PATH=$(go env GOPATH)/bin:$PATH
reviewdog -reporter=github-pr-check -runners=golint,govet
+
+ golangci-lint:
+ name: runner / golangci-lint
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v1
+ - name: golangci-lint
+ uses: reviewdog/action-golangci-lint@v1
+ with:
+ github_token: ${{ secrets.github_token }}
+ golangci_lint_flags: "--enable-all --exclude-use-default=false"
