mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[workflows][csharp] Adding diff output to formatting check.
This commit is contained in:
parent
da2185f420
commit
bb7965bb1a
8
.github/workflows/format-check-csharp.yml
vendored
8
.github/workflows/format-check-csharp.yml
vendored
@ -20,5 +20,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Check for changes
|
- name: Check for changes
|
||||||
run: |
|
run: |
|
||||||
|
git add .
|
||||||
|
git reset .
|
||||||
git ls-files -m
|
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
|
||||||
Loading…
x
Reference in New Issue
Block a user