Fix format check worklow

git status would show more files than we want to check.
This commit is contained in:
Mario Zechner 2021-08-18 19:24:55 +02:00
parent f3fe1e3390
commit 63d7c3ccba

View File

@ -56,5 +56,5 @@ jobs:
- name: Fail on format changes
run: |
git status --porcelain
if [[ `git status --porcelain` ]]; then echo "detected format changes!" & exit 1; fi
git ls-files -m
if [[ `git ls-files -m` ]]; then echo "Detected formatting errors!" & exit 1; fi