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: |
|
run: |
|
||||||
find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
|
find LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
|
||||||
pipx run "clang-format>=17,<18" \
|
pipx run "clang-format>=17,<18" \
|
||||||
${{ github.event_name == 'push' && '--Werror --dry-run' || '' }} \
|
|
||||||
--style=file \
|
--style=file \
|
||||||
-i
|
-i
|
||||||
- uses: stefanzweifel/git-auto-commit-action@latest
|
git diff --exit-code
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
with:
|
|
||||||
commit_message: clang-format fixes
|
|
||||||
|
|
||||||
python-format:
|
python-format:
|
||||||
name: 'Python'
|
name: 'Python'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user