Edoardo Pirovano
d3f5d485b3
Further fix to update dependencies workflow
2021-10-25 18:09:40 +01:00
Edoardo Pirovano
63fd41bf33
Fix syntax in a workflow
2021-10-22 17:40:41 +01:00
Edoardo Pirovano
a35be9cc60
Merge pull request #784 from github/aeisenberg/workflow-fix
...
Fix failing workflow on main
2021-10-22 11:52:48 +01:00
Edoardo Pirovano
70f007a73c
Improve workflow to update dependencies
2021-10-22 10:43:31 +01: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
Andrew Eisenberg
43ea2ce0c9
Remove explicit 2.26.0 version in python tests
...
Also, rename test scripts to indicate the version they are using.
2021-10-14 13:40:15 -07:00
Andrew Eisenberg
3df217266d
Fix failing python tests
...
The requests module 1.2.3 is no longer compatible with python >=3.10.0.
So, instead use 2.26.0, the most recent version that is compatible with
our supported python versions at the time of this commit.
2021-10-14 12:37:58 -07:00
Edoardo Pirovano
f04acbbdc3
Use CLI's own baseline LOC counting
2021-09-29 11:17:41 +01: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
bc33041cc2
Always run codeql (latest) job on PRs so we can make it required
2021-08-11 18:42:29 +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
Andrew Eisenberg
21753283b1
Updates the permissions block to be minimal
...
And adds a permissions block to the README.
2021-08-09 13:30:16 -07: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
Henry Mercer
7eb261eac8
Create PRs as drafts to prompt maintainers to trigger PR checks
...
PR checks won't be triggered on PRs created by Actions workflows.
Therefore mark PRs created by workflows as draft to prompt maintainers
to take the PR out of draft, thereby triggering PR checks.
2021-08-03 18:21:41 +01:00
Edoardo Pirovano
05a53bbd2d
Update lockfile in mergeback
2021-07-27 12:37:20 +01:00
Edoardo Pirovano
554f1b3765
Address further PR comment
2021-07-26 15:19:47 +01:00
Edoardo Pirovano
934fb86c58
Address PR comments from @robertbrignull
2021-07-26 14:47:03 +01:00
Edoardo Pirovano
e145aa414e
Enable dependabot automatic updates
2021-07-26 11:14:19 +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