ci-lint: check whitespace issues

Was testing this script for a couple weeks on Linux, found no issues, seems reliable. Also tested it on Windows today.
This commit is contained in:
Andrej730
2026-09-04 16:23:13 +05:00
parent dc69c19aa7
commit 550150b339
+8
View File
@@ -103,6 +103,11 @@ jobs:
exit $ERROR
continue-on-error: true
- name: Check whitespace
id: check-whitespace
run: poe check-whitespace
continue-on-error: true
- name: Final check
run: |
ERROR=0
@@ -121,4 +126,7 @@ jobs:
if [ "${{ steps.ty-ios.outcome }}" != "success" ]; then
echo "::error::ty check (ios) failed, see 'ty check (ios)' step for the details." && ERROR=1
fi
if [ "${{ steps.check-whitespace.outcome }}" != "success" ]; then
echo "::error::Whitespace check failed, see 'Check whitespace' step for the details." && ERROR=1
fi
exit $ERROR