Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/ci/run-rust-checks.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / ci / run-rust-checks.sh` 22 lines ยท 325 bytes Raw Blame History 1 #!/bin/sh 2 3 . ${0%/*}/lib.sh 4 5 set +x 6 7 if ! group "Check Rust formatting" cargo fmt --all --check 8 then 9 RET=1 10 fi 11 12 if ! group "Check for common Rust mistakes" cargo clippy --all-targets --all-features -- -Dwarnings 13 then 14 RET=1 15 fi 16 17 if ! group "Check for minimum required Rust version" cargo msrv verify 18 then 19 RET=1 20 fi 21 22 exit $RET