[workflows][csharp] Adding diff output to formatting check.

This commit is contained in:
Harald Csaszar 2025-10-15 22:34:44 +02:00
parent da2185f420
commit bb7965bb1a

View File

@ -20,5 +20,11 @@ jobs:
- name: Check for changes
run: |
git add .
git reset .
git ls-files -m
if [[ `git ls-files -m` ]]; then echo "Detected C# formatting errors!" & exit 1; fi
if [[ `git ls-files -m` ]]; then
git diff
git diff > format-diff.txt
echo "Detected C# formatting errors!" & exit 1;
fi