mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
36 lines
833 B
PowerShell
36 lines
833 B
PowerShell
Describe "Rust" {
|
|
Context "Rust" {
|
|
It "Rustup is installed" {
|
|
"rustup --version" | Should -ReturnZeroExitCode
|
|
}
|
|
|
|
It "Rustc is installed" {
|
|
"rustc --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Context "Cargo" {
|
|
It "Cargo is installed" {
|
|
"cargo --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
|
|
Context "Cargo dependencies" {
|
|
It "bindgen" {
|
|
"bindgen --version" | Should -ReturnZeroExitCode
|
|
}
|
|
|
|
It "cbindgen" {
|
|
"cbindgen --version" | Should -ReturnZeroExitCode
|
|
}
|
|
|
|
It "Cargo audit" {
|
|
"cargo audit --version" | Should -ReturnZeroExitCode
|
|
}
|
|
|
|
It "Cargo outdated" {
|
|
"cargo outdated --version" | Should -ReturnZeroExitCode
|
|
}
|
|
}
|
|
}
|