mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
[Ubuntu] Fix rust issue for ubuntu-20 and ubuntu-22 (#11948)
This commit is contained in:
@@ -20,11 +20,11 @@ source $CARGO_HOME/env
|
||||
rustup component add rustfmt clippy
|
||||
|
||||
if is_ubuntu22; then
|
||||
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||
fi
|
||||
|
||||
if is_ubuntu20; then
|
||||
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||
fi
|
||||
|
||||
# Cleanup Cargo cache
|
||||
|
||||
Reference in New Issue
Block a user