mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-24 10:28:10 +08:00
add cargo dep
This commit is contained in:
@@ -37,6 +37,21 @@ function Get-RustVersion {
|
||||
return "Rust ${rustVersion}"
|
||||
}
|
||||
|
||||
function Get-BindgenVersion {
|
||||
return & bindgen --version
|
||||
}
|
||||
|
||||
function Get-CbindgenVersion {
|
||||
return & cbindgen --version
|
||||
}
|
||||
|
||||
function Get-CargoauditVersion {
|
||||
return & cargo audit --version
|
||||
}
|
||||
|
||||
function Get-CargooutdatedVersion {
|
||||
return & cargo outdated --version
|
||||
}
|
||||
function Get-PythonVersion {
|
||||
return & python --version
|
||||
}
|
||||
|
||||
@@ -38,6 +38,14 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-NodeVersion)
|
||||
)
|
||||
|
||||
$markdown += New-MDHeader "Rust packages:" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-BindgenVersion),
|
||||
(Get-CbindgenVersion),
|
||||
(Get-CargoauditVersion),
|
||||
(Get-CargooutdatedVersion)
|
||||
)
|
||||
|
||||
$markdown += New-MDHeader "Package Management" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-ChocoVersion),
|
||||
|
||||
Reference in New Issue
Block a user