ci: run github-pr-review with latest changes too
@@ -49,12 +49,19 @@ jobs:
# echo ::add-path::$HOME/bin
go install ./cmd/reviewdog
- - name: Run reviewdog
+ - name: Run reviewdog (github-pr-check)
+ continue-on-error: true
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
reviewdog -reporter=github-pr-check -runners=golint,govet
+ - name: Run reviewdog (github-pr-review)
+ env:
+ REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ golint ./... | reviewdog -f=golint -name=golint-pr-review -reporter=github-pr-review
+
golangci-lint:
name: runner / golangci-lint
runs-on: ubuntu-latest
