mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] Added CodeQL (#6059)
* Go update to version 1.19 * Revert "Go update to version 1.19" This reverts commit ec418d789fc24ec3597d5c5d8cd1f98fea9ee7b4. * Update of Go packages. Version 1.19.0 added. * Revert "Update of Go packages. Version 1.19.0 added." This reverts commit cc970ae8296ac7c608ce2c0c29f60131cd4f9678. * [macOS] Added CodeQL to macOS 11 and 12. Co-authored-by: Erik Bershel <110455084+re-gent@users.noreply.github.com>
This commit is contained in:
@@ -584,4 +584,9 @@ function Build-GraalVMTable {
|
||||
"Version" = $version
|
||||
"Environment variables" = $envVariables
|
||||
}
|
||||
}
|
||||
|
||||
function Get-CodeQLVersion {
|
||||
$codeqlVersion = Run-Command "codeql version --quiet"
|
||||
return "$codeqlVersion"
|
||||
}
|
||||
@@ -159,7 +159,8 @@ $toolsList = @(
|
||||
(Get-AzureDevopsVersion),
|
||||
(Get-AWSCLIVersion),
|
||||
(Get-AWSSAMCLIVersion),
|
||||
(Get-AWSSessionManagerCLIVersion)
|
||||
(Get-AWSSessionManagerCLIVersion),
|
||||
(Get-CodeQLVersion)
|
||||
)
|
||||
|
||||
if ($os.IsLessThanMonterey) {
|
||||
|
||||
@@ -137,4 +137,10 @@ Describe "VirtualBox" -Skip:($os.IsBigSur) {
|
||||
It "Check kext kernel modules" {
|
||||
kextstat | Out-String | Should -Match "org.virtualbox.kext"
|
||||
}
|
||||
}
|
||||
|
||||
Describe "codeql" {
|
||||
It "codeql" {
|
||||
"codeql version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
@@ -228,7 +228,8 @@
|
||||
"imagemagick"
|
||||
],
|
||||
"cask_packages": [
|
||||
"julia"
|
||||
"julia",
|
||||
"codeql"
|
||||
]
|
||||
},
|
||||
"gcc": {
|
||||
|
||||
@@ -178,7 +178,8 @@
|
||||
"cask_packages": [
|
||||
"julia",
|
||||
"vagrant",
|
||||
"virtualbox"
|
||||
"virtualbox",
|
||||
"codeql"
|
||||
]
|
||||
},
|
||||
"gcc": {
|
||||
|
||||
Reference in New Issue
Block a user