Show diffs generated by clang-format

This commit is contained in:
Anonymous Maarten 2024-02-03 00:06:25 +01:00
parent 69a9cac096
commit b602c11c4a

View File

@ -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'