Do not run format on thirdparty or zvbi libraries

This commit is contained in:
canihavesomecoffee 2021-06-10 23:54:47 +02:00
parent 5850ef073d
commit 8218d5ff73

View File

@ -18,5 +18,5 @@ jobs:
- uses: actions/checkout@v2.3.4
- name: Format code
run: |
find src/ -type f -name '*.c' -not -path "src/GUI/icon_data.c" | xargs clang-format -i
find src/ -type f -not -path "src/thirdparty/*" -not -path "src/lib_ccx/zvbi/*" -name '*.c' -not -path "src/GUI/icon_data.c" | xargs clang-format -i
git diff-index --quiet HEAD -- || (git diff && exit 1)