Skip to content

Commit

Permalink
CI: ensure that CI fails if there is a formatting error
Browse files Browse the repository at this point in the history
reviewdog is not always failling
  • Loading branch information
ogoffart committed Jun 14, 2024
1 parent 46c3bd1 commit 38c518f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
tool_name: xtask license_header
level: error
fail_on_error: true
# reviewdog should normally have errored out if there was any diff, but we've seen faillure in the past
- name: sanitycheck reviewdog
run: git diff --exit-code
- run: sudo apt-get install reuse
- name: Check reuse compliance
run: cargo xtask check_reuse_compliance
Expand Down

0 comments on commit 38c518f

Please sign in to comment.