now should report issue when incorrect
Format (JS/TS) / format (pull_request) Failing after 7s
Lint (JS/TS) / lint (pull_request) Successful in 5s
Lint (Python) / lint (pull_request) Failing after 14s
Lint (Rust) / lint (pull_request) Has been cancelled
Lint (QML) / lint (pull_request) Has been cancelled
Format (JS/TS) / format (pull_request) Failing after 7s
Lint (JS/TS) / lint (pull_request) Successful in 5s
Lint (Python) / lint (pull_request) Failing after 14s
Lint (Rust) / lint (pull_request) Has been cancelled
Lint (QML) / lint (pull_request) Has been cancelled
This commit is contained in:
@@ -28,9 +28,7 @@ jobs:
|
||||
export PATH="$PATH:/usr/lib/qt6/bin:/usr/lib/qt6/libexec"
|
||||
if command -v qmllint >/dev/null 2>&1; then
|
||||
if [ -n "$(find . -name "*.qml" -print -quit)" ]; then
|
||||
if ! find . -name "*.qml" -print0 | xargs -0 qmllint; then
|
||||
echo "::warning::qmllint reported issues"
|
||||
fi
|
||||
find . -name "*.qml" -print0 | xargs -0 qmllint
|
||||
else
|
||||
echo "No QML files found"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user