From d96f1ac3a2dcff2b8a78a1d7ff162fbc0f9dadb3 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Fri, 8 Jul 2022 09:45:32 -0500 Subject: [PATCH] more debugging, tidying up --- .github/workflows/quick-check.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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()