Henry Mercer
b8047e5610
Use windows-2019 for CI jobs involving build tracing
...
Build tracing currently does not support Windows 2022, so use
`windows-2019` instead of`windows-latest`.
2022-02-08 13:29:20 +00:00
Edoardo Pirovano
265a7db16a
Remove dotnet restore calls from CI checks
2021-12-13 18:04:46 +00:00
Andrew Eisenberg
a8cf6f42c2
Revert "Bump default CodeQL version to 2.7.3"
2021-12-08 10:07:10 -08:00
Edoardo Pirovano
dc32d5448f
Add a workflow step to do dotnet restore
2021-12-08 14:47:42 +00:00
Robert
f721f011bf
Add call to dotnet restore
2021-12-06 09:43:07 +00:00
Chuan-kai Lin
70b730eb7d
Add RAM and threads options to init action
2021-10-28 15:09:59 -07:00
Edoardo Pirovano
1f4460b9fb
Make use of multi-language and indirect tracing
2021-09-22 16:12:23 +01:00
Edoardo Pirovano
014d3ea60a
Don't use shared compilation
2021-09-21 17:28:22 +01:00
Edoardo Pirovano
8caa0808ee
Upload tracer logs
2021-09-21 14:46:08 +01:00
Edoardo Pirovano
444316b6c6
Refactor PR checks
2021-09-08 13:59:52 +01:00
Andrew Eisenberg
e22a6cd3c9
Merge branch 'main' into aeisenberg/pr-check-names
2021-09-01 15:34:36 -07:00
Andrew Eisenberg
2ba7208ff2
Merge branch 'main' into aeisenberg/pr-check-names
2021-09-01 07:27:25 -07:00
Andrew Eisenberg
d1ff4d6297
Try the nightly build for packaging integration tests
2021-08-31 19:21:37 -07:00
Andrew Eisenberg
e833d6e84c
Update integration test pack versions
2021-08-26 15:59:11 -07:00
Andrew Eisenberg
1785bbb7d8
Add names to all pr-checks
2021-08-25 10:38:25 -07:00
Henry Mercer
a062fc9bf5
Merge branch 'main' into cli-version
2021-08-25 15:33:18 +01:00
Edoardo Pirovano
132e08a05f
Bump version of testing pack
2021-08-24 23:18:22 +01:00
Edoardo Pirovano
e70ec1d70e
Test against oldest supported version
2021-08-18 11:48:12 +01:00
Henry Mercer
c7203c94d9
Fix conditional in PR checks
2021-08-11 18:27:35 +01:00
Henry Mercer
b19f1f91f0
Reduce the number of PR checks that are run on push
...
If we're running on push, then we can reintroduce the logic that skips
running with `tools: latest` when it would be the same as running with
`tools: null`.
2021-08-11 17:27:26 +01:00
Henry Mercer
743d8dfb6e
Always run the latest tools PR checks so we can make them required
2021-08-11 13:01:33 +01:00
Aditya Sharad
53cfc95284
Add PR check job for Ruby beta
...
Add a separate job that analyses the multilanguage test repo's Ruby code.
For now, run this only with the latest released CodeQL build from defaults.json.
The cached builds and nightly builds don't support Ruby yet.
In future, we can update this and other PR checks to test a wider range of cases.
2021-08-09 08:42:02 -07:00
Henry Mercer
2632b65a56
Add ready_for_review type to pull_request trigger types
...
This runs checks on reopened draft PRs to support triggering PR checks
on draft PRs that were opened by other workflows.
2021-08-03 19:29:42 +01:00
Edoardo Pirovano
934fb86c58
Address PR comments from @robertbrignull
2021-07-26 14:47:03 +01:00
Mario Campos
06c6845442
Add analyze step to 'source-root' input test case
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2021-07-02 14:50:52 -05:00
Mario Campos
b9217ca238
Test presence of database instead of results of analysis
...
This is for PR #607 , 'source-root' input test case.
2021-07-02 08:07:06 -05:00
Mario Campos
2c0da4bcc7
Remove build.sh step from 'source-root' test
...
As this test is using only JS, it's not necessary to compile or analyze the other languages.
2021-07-01 18:43:10 -05:00
Mario Campos
12f1cff212
Rename CodeQL action paths in 'source-root' test to reflect repo paths
2021-07-01 18:39:37 -05:00
Mario Campos
2ca807cf16
Merge branch 'source-root-input' of github.com:mario-campos/codeql-action into source-root-input
2021-07-01 18:37:07 -05:00
Mario Campos
1c69fae407
Avoid moving repo files out of \$GITHUB_WORKSPACE in 'source-root' test
...
Moving the files into ../action was causing the job to fail because it couldn't find the test directory anymore. According to @adityasharad, these 'mv's should
not be necessary. Removing these means changing the path to the actions.
I'm also removing the 'config-file' input to keep the test minimal. I think this will mean that CodeQL will use the default query suite, so I hope that this doesn't change the results.
2021-07-01 18:34:34 -05:00
Mario Campos
67d6f7929f
Delete 'packaing' from source-root test job name
...
The test is not related to packaging.
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com>
2021-07-01 18:31:50 -05:00
Mario Campos
028f98f5ea
Use different config file for testing 'source-root' input
...
This config file 'ought to have some queries good for testing!
2021-07-01 16:12:15 -05:00
Mario Campos
c78fb87659
Add test case for 'source-root' input to 'init' Action
2021-07-01 15:26:04 -05:00
Andrew Eisenberg
0792832682
Remove a TODO and use defautl tools option
2021-06-30 12:43:20 -07:00
Edoardo Pirovano
d9050f49a3
Merge branch 'main' into local-bundle
2021-06-28 23:53:41 +01:00
Edoardo Pirovano
a7dac5c3db
Address PR comment.
2021-06-28 23:52:53 +01:00
Edoardo Pirovano
93214eca2e
Merge branch 'main' into split-create-analysis
2021-06-28 18:25:01 +01:00
Edoardo Pirovano
8f4c2c76ad
Allow local instead of downloaded CodeQL
2021-06-28 18:11:13 +01:00
Edoardo Pirovano
954700187b
Run tests against nightly CLI bundles
2021-06-28 17:47:10 +01:00
Andrew Eisenberg
a6891153f0
Allow to be run on workflow_dispatch
2021-06-28 09:17:32 -07:00
Edoardo Pirovano
ef852c006a
Support splitting of DB creation and query execution
2021-06-28 17:14:22 +01:00
Andrew Eisenberg
4087f37d90
Add extra integration test for packaging
...
Also, update the options and inputs documentation.
2021-06-25 10:07:51 -07:00
Andrew Eisenberg
6e577cfca3
Add new packs input to init action
...
This input allows users to specify which packs to run. It works in
unison with the packs block of the config file and it is similar to
how `queries` works. They both use `+` in the same way.
Note that the `#TODO` in the pr check is still around, but the CLI
is available. I will remove the TODO in the next commit.
2021-06-23 16:08:35 -07:00
Andrew Eisenberg
efea9238bc
Fix custom version of CLI to use for package testing
...
This can be removed when 2.5.6 is released.
2021-06-16 14:56:52 -07:00
Andrew Eisenberg
a2e96a4c78
Add pack download to its own log group
...
Also, make the baseline count message less awkward sounding.
2021-06-09 14:13:05 -07:00
Andrew Eisenberg
db01c78de0
Remove unneeded action input in PR check
2021-06-09 13:10:57 -07:00
Andrew Eisenberg
82388fd94a
Merge remote-tracking branch 'upstream/main' into aeisenberg/pack-run
2021-06-09 12:43:17 -07:00
Andrew Eisenberg
d42f654f7a
Add an integration test for packaging
...
Uses two pre-existing packages to run some simple queries on a javascript
database.
2021-06-08 12:34:07 -07:00
Edoardo Pirovano
ddb83a462d
Cleanup CodeQL DBs and output their location for later steps
2021-06-04 18:54:15 +01:00
Edoardo Pirovano
79c79f1be5
Add configuration option to set CodeQL DB location
2021-05-18 00:13:36 +01:00