diff --git a/tooling/ci.sh b/tooling/ci.sh index 2cfe3aa..cee929b 100755 --- a/tooling/ci.sh +++ b/tooling/ci.sh @@ -1,7 +1,21 @@ #!/usr/bin/env bash +# Deps +# cargo install --locked cargo-audit cargo-edit cargo-udeps cargo-geiger cargo-crev cargo-deny + set -Eeuo pipefail -cargo +nightly fmt --all -cargo clippy --all-targets --all-features -- -Dwarnings -cargo test +ci () { + + cargo audit + cargo upgrade --verbose + cargo update --verbose + + cargo +nightly fmt --all + cargo clippy --all-targets --all-features -- -Dwarnings + cargo test + + cargo +nightly udeps --all-targets +} + +ci