Skip to content

Commit

Permalink
Update GH action lint to print differences on errors
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 30, 2020
1 parent f4b1bc0 commit 75e2eb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ jobs:
- name: Lint
run: |
pre-commit run --all-files
pre-commit run --all-files 2> /dev/null
ec=$?
git diff -U0 > log.txt && cat log.txt
exit $ec
Doc:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 75e2eb2

Please sign in to comment.