diff --git a/.github/workflows/quick-check.yml b/.github/workflows/quick-check.yml index c18b927b92..5555333251 100644 --- a/.github/workflows/quick-check.yml +++ b/.github/workflows/quick-check.yml @@ -28,6 +28,7 @@ jobs: - name: Build, test, produce docs # Presently this runs no tests at all, but could run: | + set -eux cd gwt # Set env vars to ensure we get the build we expect export \ @@ -46,12 +47,15 @@ jobs: env: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - cd gwt - git diff ${{github.event.pull_request.base.sha}} - for xml in $(find build/out | grep checkstyle); do - reviewdog -f=checkstyle -reporter=local -level=info -diff="git diff ${{github.event.pull_request.base.sha}}"< $xml - reviewdog -f=checkstyle -reporter=github-pr-review -level=info < $xml - done + set -eux + cd gwt + git log --graph --oneline --decorate --stat ${{github.event.pull_request.base.sha}}..HEAD + git diff ${{github.event.pull_request.base.sha}} + for xml in $(find build/out | grep checkstyle); do + echo $xml + reviewdog -f=checkstyle -reporter=local -level=info -diff="git diff ${{github.event.pull_request.base.sha}}" < $xml + reviewdog -f=checkstyle -reporter=github-pr-review -level=info < $xml + done - name: Upload checkstyle xml for manual review uses: actions/upload-artifact@v2 if: always()