Andrew Eisenberg
2754e10472
Move to the codeql-testing org
...
Refer to the packages in codeql-testing, not in dsp-testing.
2023-04-04 13:39:56 -07:00
Henry Mercer
e85546ccca
Move internal Actions into .github/actions
...
This is a more standard location for these custom Actions.
2023-04-03 18:29:29 +01:00
Andrew Eisenberg
c208575433
Avoid uploading databases after integration tests
...
We are still getting coverage of the upload capability through the
standard codeql analysis workflow.
2023-03-14 14:55:58 -07:00
Henry Mercer
e530813ab8
Remove PR checks for v1
2023-01-16 18:49:32 +00:00
Henry Mercer
620a267204
Temporarily disable Kotlin analysis in PR checks
...
Kotlin analysis is incompatible with Kotlin 1.8.0, which is now rolling
out to the Actions runner images.
While we work on a more permanent fix to our PR checks, this will
prevent us losing other
test coverage.
2023-01-10 17:31:35 +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
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
Andrew Eisenberg
a73e506617
Fix syntax error in workflow
2022-04-29 17:33:21 -07:00
Andrew Eisenberg
922dc2b976
Use the --resolve-query-specs parameter of pack download
...
This will allow the command to resolve packs with paths.
Also, use a more concise version of `tr`.
2022-04-29 10:54:01 -07:00
Andrew Eisenberg
06b15c22b1
Allow pack specifiers to include paths
...
Also, this cleans up our pack-related integration tests.
We are now testing with the most recent CLIs.
2022-04-28 17:14:30 -07: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
a2949f47b3
Update actions/checkout from v2 to v3
2022-03-30 19:46:09 +01:00
Henry Mercer
e769c2dd6e
Run all PR checks on v2 branch
2022-03-30 15:59:09 +01:00
Andrew Eisenberg
76c3e91b1f
Bump timeout to 45 minutes
...
With a 30 minute timeout, we were getting some cancelled runs.
This should fix it.
2022-03-11 11:45:45 -08:00
Andrew Eisenberg
628afae9d3
Add a timeout of 30 min
...
For all CI jobs. Based on some eye-balling 30 minutes should be
enough time for all jobs to complete.
2022-03-08 14:57:35 -08:00
Edoardo Pirovano
8ec6a84629
Expand PR checks to cover windows-2022
2022-02-28 15:39:34 +00:00
Andrew Eisenberg
b2af0740e4
Remove security-events: write from tests
...
This is not necessary.
2022-02-01 19:17:15 -08:00
Andrew Eisenberg
e9aa2c6f62
Add a permissions block for generated workflows
...
Ensure that all workflows are able to write security events.
2022-01-31 16:11:00 -08:00
Edoardo Pirovano
265a7db16a
Remove dotnet restore calls from CI checks
2021-12-13 18:04:46 +00:00
Robert
f721f011bf
Add call to dotnet restore
2021-12-06 09:43:07 +00:00
Andrew Eisenberg
1beeda3ba3
Fix failing workflow on main
...
We do not want this database uploaded for remote queries.
2021-10-21 11:04:28 -07:00
Edoardo Pirovano
f04acbbdc3
Use CLI's own baseline LOC counting
2021-09-29 11:17:41 +01:00
Edoardo Pirovano
444316b6c6
Refactor PR checks
2021-09-08 13:59:52 +01:00