Henry Mercer
34d91a9ce7
Use runner.os in ML-powered queries tests too
2022-11-22 20:45:26 +00:00
Henry Mercer
7cdf75141e
Remove redundant INTERNAL_CODEQL_ACTION_DEBUG_LOC variable
2022-11-16 16:40:35 +00:00
Henry Mercer
a190d3876a
Rename TEST_MODE to specific variable for CodeQL Action
...
This allows us to set it automatically in the workflow generator,
simplifying things and reducing the scope for error.
2022-11-16 16:40:30 +00:00
Henry Mercer
07b9db6a46
Explicitly set up Go 1.13.1 in checks running on old runner images
2022-11-15 20:53:57 +00:00
Henry Mercer
0c3e493df0
Update first version of CLI compatible with Windows 2022
...
It is 2.8.2, not 2.7.3.
2022-11-11 19:08:55 +00:00
Henry Mercer
96a8424f0c
Don't bypass the toolcache in test mode
2022-08-16 16:18:12 +01:00
Andrew Eisenberg
6fabde2be8
Add packs and queries from input
...
This commit adds the packs and queries from the actions input to the
config file used by the CodeQL CLI.
When the `+` is used, the actions input value is combined with the
config value and when it is not used, the input value overrides the
config value.
This commit also adds a bunch of integration tests for this feature.
In order to avoid adding too many new jobs, all of the tests are
run sequentially in a single job (matrixed across relevant operating
systems and OSes).
2022-06-28 14:07:51 -07:00
Henry Mercer
ed0abc6cac
Log the expected outcome of the tests for clarity
2022-04-28 19:21:56 +01:00
Henry Mercer
193cfa588d
Update PR checks for Windows and CodeQL CLI 2.9.0+
2022-04-28 19:18:15 +01:00
Henry Mercer
9daf1de73c
Update references to release branches
...
Prepare for renaming `v1` -> `releases/v1` and `v2` -> `releases/v2`.
2022-04-14 17:48:46 +01:00
Henry Mercer
dc0338e493
Use latest major version of actions/upload-artifact
2022-03-31 10:11:33 +01:00
Henry Mercer
57096fe795
Add a PR check to validate that ML-powered queries are run correctly
2022-03-31 10:11:30 +01:00