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

* Hardcode 0.14.1 as 0.15.0 is broken

* Install cargo-audit without locked
This commit is contained in:
Mikhail Timofeev
2021-07-30 22:05:48 +03:00
committed by GitHub
parent 2d9cc77844
commit 76c0efb5eb

View File

@@ -12,7 +12,9 @@ CARGO_HOME=$HOME/.cargo
echo Install common tools...
rustup component add rustfmt clippy
cargo install --locked bindgen cbindgen cargo-audit cargo-outdated
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
echo Cleanup Cargo registry cached data...
rm -rf $CARGO_HOME/registry/*