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:
@@ -21,9 +21,7 @@ jobs:
|
||||
- name: Rustfmt
|
||||
run: |
|
||||
if [ -f Cargo.toml ]; then
|
||||
if ! cargo fmt --check; then
|
||||
echo "::warning::rustfmt reported issues"
|
||||
fi
|
||||
cargo fmt --check
|
||||
else
|
||||
echo "No Rust project found"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user