mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[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:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user