Skip to content

Commit

Permalink
more debugging, tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Jul 8, 2022
1 parent db4f0a6 commit d96f1ac
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/quick-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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()
Expand Down

0 comments on commit d96f1ac

Please sign in to comment.