mirror of
https://github.com/actions/runner-images.git
synced 2025-12-26 03:17:54 +08:00
[Windows] Add yamllint support for the default Python version only (#1320)
* Add yamllint support * fix yamllint verion output * move yamllint to the Tools section
This commit is contained in:
committed by
GitHub
parent
1f7bfc8b3c
commit
affa6b1297
@@ -270,3 +270,7 @@ function Get-PacmanVersion {
|
||||
$pacmanVersion = $matches[0]
|
||||
return "- Pacman $pacmanVersion"
|
||||
}
|
||||
|
||||
function Get-YAMLLintVersion {
|
||||
yamllint --version
|
||||
}
|
||||
@@ -98,7 +98,8 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-WinAppDriver),
|
||||
(Get-ZstdVersion),
|
||||
(Get-VSWhereVersion),
|
||||
(Get-7zipVersion)
|
||||
(Get-7zipVersion),
|
||||
(Get-YAMLLintVersion)
|
||||
)
|
||||
|
||||
$markdown += New-MDHeader "CLI Tools" -Level 3
|
||||
|
||||
Reference in New Issue
Block a user