add an integration test to run github-pr-check with -filter-mode=file
@@ -116,6 +116,12 @@ jobs:
run: |
cd ./_testdata/ && golint ./... | reviewdog -f=golint -name=golint-pr-check-fail-on-error -reporter=github-pr-check -fail-on-error
+ - name: Run reviewdog (github-pr-check with -filter-mode=file)
+ env:
+ REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ golint | reviewdog -f=golint -name=golint-pr-check-filter-mode-file -reporter=github-pr-check -filter-mode=file
+
golangci-lint:
if: github.event_name == 'pull_request'
name: runner / golangci-lint
