Henry Mercer
d48707ce53
Merge branch 'henrymercer/delete-runner-part-2' into henrymercer/require-cli-2.6.3
2022-11-15 20:58:01 +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
88b5c1e51f
Set environment variable to enable Swift
2022-11-15 13:53:00 +00:00
Henry Mercer
3ef8b89353
Merge branch 'main' into henrymercer/update-query-id-prefixes
2022-11-15 13:46:12 +00:00
Henry Mercer
1e2f8f035d
Merge branch 'main' into henrymercer/require-cli-2.6.3
2022-11-14 22:25:31 +00:00
Henry Mercer
31c87302e7
Add Swift file baseline info to expected list
...
Also update query ID prefixes for C# and Ruby
2022-11-14 22:23:16 +00:00
Angela P Wen
5883c13406
Deprecate Go extraction reconciliation feature flag and CODEQL_EXTRACTOR_GO_BUILD_TRACING for custom builds ( #1322 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-14 13:54:35 -08:00
Angela P Wen
0eacdb53ad
Support Swift for private beta ( #1350 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2022-11-14 10:29:05 -08: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
1fd76310fd
Update CLI versions in non-generated checks
2022-11-11 19:08:33 +00:00
Henry Mercer
9e44100c47
Update autogenerated checks to run on earliest three minor CLI versions
2022-11-11 19:00:48 +00:00
Henry Mercer
76a77405c1
Fix Python query identifier in file baseline information PR check
2022-11-11 10:12:39 +00:00
Henry Mercer
029ecc09e7
Check expected SARIF notification objects
2022-11-07 16:37:57 +00:00
Henry Mercer
b9b7d9f2a6
Add PR check for file baseline information
2022-11-07 16:37:46 +00:00
Henry Mercer
c44e6c6096
Fix missing Docker image in proxy test
2022-11-01 14:32:18 +00:00
Henry Mercer
a31200481f
Be more specific about where the 2.7.3 constraint comes from
2022-10-27 16:28:36 +01:00
Henry Mercer
4ed5abeff3
Remove redundant Rubocop checks
2022-10-27 16:23:29 +01:00
Henry Mercer
f248a57d3b
Run PR checks for CLIs < 2.7.3 on ubuntu-20.04
...
Build tracing using CLIs before 2.7.3 no longer works with the most
recent update to the `ubuntu-22.04` runner image.
With this new logic, we can remove the workarounds around testing
`windows-2019` and `windows-2022`.
2022-10-27 15:19:07 +01:00
Angela P Wen
3400e51bc8
Add dotnet env variable to workflow ( #1273 )
2022-09-28 12:45:19 -07:00
Angela P Wen
1f0700d1c0
Update unset environment variables PR check ( #1269 )
...
* Only test Java for CLI v2.5+
* Improve bash code style
* Set Actions error messages
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2022-09-27 15:55:05 -07:00
Andrew Eisenberg
aa434aaed6
Only run the init-with-registries check on nightly
2022-09-07 15:15:55 -07:00
Andrew Eisenberg
376fea671d
Clarify description of registries input
2022-09-06 14:06:30 -07:00
Andrew Eisenberg
7e086b240c
Merge remote-tracking branch 'upstream/main' into aeisenberg/ghes-pack-download
2022-09-06 10:22:00 -07:00
Andrew Eisenberg
abdf26c28f
Convert from json to yaml for registries input
2022-09-02 15:03:51 -07:00
Andrew Eisenberg
b0443622cd
Merge branch 'main' into aeisenberg/ghes-pack-download
2022-09-02 11:32:07 -07:00
Andrew Eisenberg
e9b47b1898
Change to using a single input
2022-09-01 16:07:26 -07:00
Henry Mercer
6699d47420
Work around test -v not being available in Mac Bash
2022-09-01 16:49:39 +01:00
Henry Mercer
1d311fe8e5
Add PR checks for reconciled tracing with autobuilder and build steps
2022-09-01 15:43:49 +01:00
Henry Mercer
e303e2c65b
Update legacy workflow PR check
...
We now trace in init when using reconciled tracing, so we no longer need
to set the `CODEQL_EXTRACTOR_GO_BUILD_TRACING` environment variable.
2022-09-01 15:43:17 +01:00
Henry Mercer
5b4b44c9d6
Add PR check for reconciled tracing with legacy workflow
2022-08-31 13:19:16 +01:00
Andrew Eisenberg
1d92118146
Add integration test for using registries-auth-tokens
2022-08-30 15:56:08 -07:00
Henry Mercer
3069613ebd
Prevent hangs in Go autobuild tests due to .NET keychain prompts
2022-08-24 10:35:13 +01:00
Henry Mercer
d5ad81bcd4
Fix Go custom tracing tests
...
These were supplying CODEQL_EXTRACTOR_GO_BUILD_TRACING=true rather than
CODEQL_EXTRACTOR_GO_BUILD_TRACING=on,
therefore tracing wasn't being tested.
2022-08-23 20:03:32 +01:00
Henry Mercer
96a8424f0c
Don't bypass the toolcache in test mode
2022-08-16 16:18:12 +01:00
Andrew Eisenberg
0403fb7d8c
Merge branch 'main' into aeisenberg/fix-config-files
2022-08-10 15:39:35 -07:00
Angela P Wen
81c5b2d993
New debug artifacts workflow with separate jobs
2022-08-01 11:09:29 +02:00
Andrew Eisenberg
907f1deb5b
Merge branch 'main' into aeisenberg/fix-config-files
2022-07-28 16:43:03 -07:00
Aditya Sharad
58faf9d60c
Actions: Disable the CLR tracer in C# autobuild test
...
Ensure that this succeeds even if the legacy CLR tracer is not enabled.
The combination of the regular tracer and the SIP workaround within Actions
should be sufficient for this to pass.
2022-07-25 15:02:42 -07:00
Cornelius Riemenschneider
ceec52c4bc
Address review.
2022-07-21 17:03:57 +00:00
Cornelius Riemenschneider
a32664975f
autobuild-action: Run autobuilders with $CODEQL_RUNNER set.
...
Without this, the tracer will not be injected on MacOS, as we need the
runner to circumvent SIP.
Also add a test that tests the autobuild-action to exercise this code path.
2022-07-21 15:51:54 +00: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
533ce91971
Merge remote-tracking branch 'origin/main' into henrymercer/run-atm-on-windows
2022-05-11 19:32:14 +01: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
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
Chuan-kai Lin
6f174084dd
Add autobuild workind-directory test
2022-04-08 15:18:11 -07:00
Henry Mercer
dc0338e493
Use latest major version of actions/upload-artifact
2022-03-31 10:11:33 +01:00