mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[macOS] Add SwiftFormat for macOS 12 (#5495)
* Add SwiftFormat for macOS 12 * Update docs and pester test
This commit is contained in:
committed by
GitHub
parent
df8580f2f0
commit
17e6dc8298
@@ -176,15 +176,10 @@ $toolsList += @(
|
||||
(Get-GHCupVersion),
|
||||
(Get-GHCVersion),
|
||||
(Get-CabalVersion),
|
||||
(Get-StackVersion)
|
||||
(Get-StackVersion),
|
||||
(Get-SwiftFormatVersion)
|
||||
)
|
||||
|
||||
if($os.IsLessThanMonterey) {
|
||||
$toolsList += @(
|
||||
(Get-SwiftFormatVersion)
|
||||
)
|
||||
}
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)
|
||||
|
||||
# Linters
|
||||
|
||||
Reference in New Issue
Block a user