Revert "[macOS] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3820)" (#4074)

This commit is contained in:
Aleksandr Chebotov
2021-09-14 09:59:35 +03:00
committed by GitHub
parent 0b3a4c4bdb
commit 22728c3dbd

View File

@@ -12,9 +12,7 @@ CARGO_HOME=$HOME/.cargo
echo Install common tools...
rustup component add rustfmt clippy
cargo install --locked bindgen cbindgen cargo-outdated
# Temporary hardcode cargo-audit 0.14.1 as 0.15.0 is broken https://docs.rs/crate/cargo-audit/0.15.0
cargo install cargo-audit --version 0.14.1
cargo install --locked bindgen cbindgen cargo-audit cargo-outdated
echo Cleanup Cargo registry cached data...
rm -rf $CARGO_HOME/registry/*