mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +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
|
||||
|
||||
@@ -30,7 +30,7 @@ Describe "Subversion" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "SwiftFormat" -Skip:($os.IsMonterey) {
|
||||
Describe "SwiftFormat" {
|
||||
It "SwiftFormat" {
|
||||
"swiftformat --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
"perl",
|
||||
"sbt",
|
||||
"subversion",
|
||||
"swiftformat",
|
||||
"swig",
|
||||
"zstd",
|
||||
"gmp",
|
||||
|
||||
Reference in New Issue
Block a user