mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Add pipx and yamllint to report
This commit is contained in:
@@ -243,4 +243,8 @@ function Get-AptPackages {
|
||||
$apt = $toolsetJson.apt
|
||||
$pkgs = ($apt.common_packages + $apt.cmd_packages | Sort-Object) -join ", "
|
||||
return $pkgs
|
||||
}
|
||||
|
||||
function Get-PipxVersion {
|
||||
return "Pipx $(pipx --version 2> $null)"
|
||||
}
|
||||
@@ -58,6 +58,7 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-YarnVersion),
|
||||
(Get-PipVersion),
|
||||
(Get-Pip3Version),
|
||||
(Get-PipxVersion),
|
||||
(Get-VcpkgVersion)
|
||||
)
|
||||
|
||||
@@ -110,6 +111,7 @@ $toolsList = @(
|
||||
(Get-TerraformVersion),
|
||||
(Get-UnZipVersion),
|
||||
(Get-WgetVersion),
|
||||
(Get-YamllintVersion),
|
||||
(Get-ZipVersion),
|
||||
(Get-ZstdVersion)
|
||||
)
|
||||
|
||||
@@ -269,4 +269,8 @@ function Get-RVersion {
|
||||
function Get-SphinxVersion {
|
||||
$sphinxVersion = searchd -h | Select-Object -First 1 | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
|
||||
return "Sphinx Open Source Search Server $sphinxVersion"
|
||||
}
|
||||
|
||||
function Get-YamllintVersion {
|
||||
return (yamllint --version | Out-String)
|
||||
}
|
||||
Reference in New Issue
Block a user