[Ubuntu] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3821)

* Version 0.15.0 is broken, stick to 0.14.1

* Install cargo-audit without locked
This commit is contained in:
Mikhail Timofeev
2021-07-30 22:06:02 +03:00
committed by GitHub
parent 76c0efb5eb
commit 799c7a79cf

View File

@@ -17,7 +17,9 @@ source $CARGO_HOME/env
# 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
# Permissions
chmod -R 777 $(dirname $RUSTUP_HOME)