mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Show diffs generated by clang-format
This commit is contained in:
parent
69a9cac096
commit
b602c11c4a
6
.github/workflows/format.yml
vendored
6
.github/workflows/format.yml
vendored
@ -14,13 +14,9 @@ jobs:
|
||||
run: |
|
||||
find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
|
||||
pipx run "clang-format>=17,<18" \
|
||||
${{ github.event_name == 'push' && '--Werror --dry-run' || '' }} \
|
||||
--style=file \
|
||||
-i
|
||||
- uses: stefanzweifel/git-auto-commit-action@latest
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
with:
|
||||
commit_message: clang-format fixes
|
||||
git diff --exit-code
|
||||
|
||||
python-format:
|
||||
name: 'Python'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user