mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[macOS] Add Colima tool (#6285)
* Add Colima tool to macos images * PR fixes: skip Catalina; switch to toolset json
This commit is contained in:
committed by
GitHub
parent
00b572dfdf
commit
ab4f43d818
@@ -597,3 +597,8 @@ function Get-CodeQLBundleVersion {
|
||||
$CodeQLVersion = & $CodeQLPath version --quiet
|
||||
return "CodeQL Action Bundle $CodeQLVersion"
|
||||
}
|
||||
|
||||
function Get-ColimaVersion {
|
||||
$colimaVersion = Run-Command "colima version" | Select-String "colima version" | Take-Part -Part 2
|
||||
return "Colima $colimaVersion"
|
||||
}
|
||||
|
||||
@@ -182,7 +182,8 @@ $toolsList += @(
|
||||
(Get-GHCVersion),
|
||||
(Get-CabalVersion),
|
||||
(Get-StackVersion),
|
||||
(Get-SwiftFormatVersion)
|
||||
(Get-SwiftFormatVersion),
|
||||
(Get-ColimaVersion)
|
||||
)
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)
|
||||
|
||||
@@ -150,3 +150,9 @@ Describe "CodeQL" -Skip:($os.IsCatalina) {
|
||||
$CodeQLPacksPath | Should -Exist
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Colima" {
|
||||
It "Colima" {
|
||||
"colima version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
|
||||
@@ -205,6 +205,7 @@
|
||||
"bazelisk",
|
||||
"carthage",
|
||||
"cmake",
|
||||
"colima",
|
||||
"gh",
|
||||
"gnupg",
|
||||
"gnu-tar",
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
"bazelisk",
|
||||
"carthage",
|
||||
"cmake",
|
||||
"colima",
|
||||
"gh",
|
||||
"gnupg",
|
||||
"gnu-tar",
|
||||
|
||||
Reference in New Issue
Block a user