File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -391,3 +391,28 @@ jobs:
391391 - name : check for unused dependencies
392392 run : |
393393 ./scripts/find-unused-deps.sh
394+
395+ rust-all :
396+ # Hack for buggy GitHub Actions behavior with skipped checks: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
397+ if : ${{ always() }}
398+ runs-on : ubuntu-24.04
399+ needs :
400+ - cargo-fmt
401+ - cargo-clippy
402+ - cargo-runtime-build
403+ - cargo-test
404+ - check-runtime-benchmarks
405+ - cargo-check-individually
406+ - cargo-unused-deps
407+ steps :
408+ - name : Check job statuses
409+ # Another hack is to actually check the status of the dependencies or else it'll fall through
410+ run : |
411+ echo "Checking statuses..."
412+ [[ "${{ needs.cargo-fmt.result }}" == "success" ]] || exit 1
413+ [[ "${{ needs.cargo-clippy.result }}" == "success" ]] || exit 1
414+ [[ "${{ needs.cargo-runtime-build.result }}" == "success" ]] || exit 1
415+ [[ "${{ needs.cargo-test.result }}" == "success" ]] || exit 1
416+ [[ "${{ needs.check-runtime-benchmarks.result }}" == "success" ]] || exit 1
417+ [[ "${{ needs.cargo-check-individually.result }}" == "success" ]] || exit 1
418+ [[ "${{ needs.cargo-unused-deps.result }}" == "success" ]] || exit 1
You can’t perform that action at this time.
0 commit comments