either fail ? then check fail else pass
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Lint & Format (Rust) / lint-format (pull_request) Has been cancelled
Python / lint-format (pull_request) Successful in 29s
Python / test (pull_request) Successful in 45s

This commit is contained in:
2026-05-29 20:12:36 +02:00
parent 0c47ba805f
commit 21c6940fb1
+13 -2
View File
@@ -38,7 +38,8 @@ jobs:
rustfmt \
rust-clippy
- name: Format check
- id: format-check
name: Format check
continue-on-error: true
run: |
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
@@ -56,7 +57,8 @@ jobs:
echo "No Rust project found"
fi
- name: Clippy
- id: clippy
name: Clippy
run: |
if [ -n "$(find . -name "Cargo.toml" -print -quit)" ]; then
status=0
@@ -72,3 +74,12 @@ jobs:
else
echo "No Rust project found"
fi
- name: Check results
if: always()
run: |
if [ "${{ steps.format-check.outcome }}" = "failure" ] || [ "${{ steps.clippy.outcome }}" = "failure" ]; then
echo "One or more checks failed"
exit 1
fi
echo "All checks passed"