mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 01:35:22 +08:00
add cargo dep
This commit is contained in:
@@ -22,7 +22,7 @@ $env:Path = Get-MachinePath
|
||||
|
||||
# Install common tools
|
||||
rustup component add rustfmt clippy
|
||||
cargo install bindgen cbindgen
|
||||
cargo install bindgen cbindgen cargo-audit cargo-outdated
|
||||
|
||||
# Run script at startup for all users
|
||||
$cmdRustSymScript = @"
|
||||
|
||||
@@ -17,3 +17,13 @@ else
|
||||
Write-Host "rustc is not on the path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if (-Not (Get-Command -Name 'cargo audit')){
|
||||
Write-Host "cargo audit is not on the path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if (-Not (Get-Command -Name 'cargo outdated')){
|
||||
Write-Host "cargo outdated is not on the path"
|
||||
exit 1
|
||||
}
|
||||
Reference in New Issue
Block a user