mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 19:22:27 +00:00
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:
@@ -103,6 +103,11 @@ jobs:
|
|||||||
exit $ERROR
|
exit $ERROR
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Check whitespace
|
||||||
|
id: check-whitespace
|
||||||
|
run: poe check-whitespace
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Final check
|
- name: Final check
|
||||||
run: |
|
run: |
|
||||||
ERROR=0
|
ERROR=0
|
||||||
@@ -121,4 +126,7 @@ jobs:
|
|||||||
if [ "${{ steps.ty-ios.outcome }}" != "success" ]; then
|
if [ "${{ steps.ty-ios.outcome }}" != "success" ]; then
|
||||||
echo "::error::ty check (ios) failed, see 'ty check (ios)' step for the details." && ERROR=1
|
echo "::error::ty check (ios) failed, see 'ty check (ios)' step for the details." && ERROR=1
|
||||||
fi
|
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
|
exit $ERROR
|
||||||
|
|||||||
Reference in New Issue
Block a user