Commit Graph

11 Commits

Author SHA1 Message Date
Angela P Wen
1e75a20a49 [Linux,macOS,Windows] Download two latest CodeQL bundles (#6884)
Previously, our runner image only included the most recent release of CodeQL. In order to improve stability of rollout of new CodeQL versions, we are now downloading the most recent two releases.

The change updates the Linux and Windows script variable names to match that of the Mac script, because they are mostly functionally identical. It also adds the same log messages to all scripts and ensures Mac and Windows test parity. It tests that there are two bundles in each of the OS's as well.

This will approximately double the total size and installation time of the existing CodeQL tool.
2023-01-29 14:46:43 +01:00
Henry Mercer
b3b4deba3b Use v2 branch to get the Linux CodeQL bundle too (#5840)
https://github.com/actions/virtual-environments/pull/5307 did this for Windows; let's do Linux too.
2022-06-30 12:49:27 +03:00
Cornelius Riemenschneider
9e30602178 CodeQL: Pull the bundle from codeql-action@v1 rather than main. (#4702)
As github/codeql-action by default uses the bundle from the toolcache,
make sure that that is considered stable.
2021-12-10 10:26:07 +03:00
Leonid Lapshin
1ce075fe93 [ubuntu] Pester tests for dotnet sdk, cmd tools and codeql (#2335)
* dotnet cmd codeql tests

* fixed dotnet tests, added codeql to toolset

* changed codeql version to wildcard

* removed unused import and a test call

* tmp

* lowercase file name

* removed sourcing invoke-tests

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2020-12-30 13:50:21 +03:00
Sergey Dolin
1d4f281899 Add -e to .sh scripts 2020-10-12 15:47:09 +05:00
Chris Gavin
0a8bab6093 Touch a file required to indicate to the toolcache that CodeQL is fully set up. 2020-09-21 15:37:02 +01:00
Chris Gavin
49dc2ce2fd Use new approach for documenting CodeQL on Ubuntu. 2020-09-20 13:39:58 +01:00
Chris Gavin
60d40e5dd5 Document the CodeQL version that is installed. 2020-09-18 08:31:58 +01:00
Chris Gavin
c72e08b8b6 Touch a file to indicate the source of pre-downloaded CodeQL bundles. 2020-09-17 12:14:59 +01:00
Chris Gavin
096464f38e Tidy up CodeQL bundle Linux installer script in response to review comments. 2020-09-15 09:43:32 +01:00
Chris Gavin
09dcae0f24 Install the CodeQL bundle in the toolcache. 2020-09-08 12:48:26 +01:00