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
6a1c0700c3
Avoid running mergeback workflow on PR
...
This was causing the workflow to run and create tags after merging
main into a branch.
2021-06-09 14:38:09 -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
Andrew Eisenberg
74764ac0eb
Remove quotes around $DRAFT argument
...
gh will complain if there is an empty `""`, which is the case if
`$DRAFT` is unset.
2021-06-07 13:53:47 -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
0cbd4b56d3
Add some dependencies for uploading artifacts
2021-06-02 10:32:48 +01:00
Andrew Eisenberg
f0e82b7d63
1.0.1
2021-05-31 10:56:52 -07:00
Andrew Eisenberg
981b5cb012
Fix the mergeback workflow
...
We need to tag and mergeback if the tag does _not_ already exist.
2021-05-31 10:08:10 -07:00
Andrew Eisenberg
8b0110800e
Merge branch 'main' into aeisenberg/update-changelog-on-release
2021-05-27 13:12:26 -07:00
Andrew Eisenberg
ea89b06c41
Add bump runner version whenever action is versioned
...
Ensures that the runner version is bumped along with the action version.
2021-05-27 12:31:58 -07:00
Aditya Sharad
a55e7e1f67
Actions: Run enterprise versions workflow only on the parent repo
...
Don't run the cron workflow on forks, since they lack the necessary secrets.
2021-05-25 17:48:14 -07:00
Andrew Eisenberg
800a951427
Add release and mergeback workflows
...
This commit ensures that the changelog is updated before a release with
the correct date and version.
Also, after a release, a mergeback PR is created to ensure that the
changelog update and version bump is available in main.
2021-05-21 11:04:38 -07:00
Edoardo Pirovano
79c79f1be5
Add configuration option to set CodeQL DB location
2021-05-18 00:13:36 +01:00
Edoardo Pirovano
a5506d82e4
Output environment file for Windows
2021-05-10 20:43:49 +01:00
Robert
3c96019556
fix windows hopefully
2021-05-10 16:24:52 +01:00
Robert
f742f910aa
put matrix vars in env vars for whitespace safety
2021-05-10 16:19:38 +01:00
Robert
603c47cb50
make matrix run all cases
2021-05-07 10:21:05 +01:00
Chris Gavin
e305db89c2
Fix the token permissions for private copies of the CodeQL Action, and for runs that are not from pull requests.
2021-04-30 13:47:54 +01:00
Chris Gavin
643bc6e3ed
Remove spurious blank line.
2021-04-22 17:26:26 +01:00
Chris Gavin
7e85b5d66a
Restrict Actions token permissions in CodeQL workflow.
2021-04-22 17:07:03 +01:00
Aditya Sharad
64b50fa2a6
Code scanning: Compare the default and latest CodeQL tools bundles
...
Create a prerequisite job that runs the init step twice, with `tools: null` and `tools: latest`.
Use the outputs of these steps to compare the two CodeQL versions.
Pass the list of distinct tool versions for the analysis job to matrix over.
This lets us test the analysis against both versions, while avoiding duplication
when they are actually the same version.
2021-04-09 14:51:18 -07:00
Aditya Sharad
51b1d7d81f
PR checks: Compare the default and latest CodeQL tools bundles
...
Create a prerequisite job that runs the init step twice, with `tools: null` and `tools: latest`.
Use the outputs of these steps to compare the two CodeQL versions.
Pass the list of distinct tool versions for the integration tests to use in their matrix strategy.
This avoids redundant test jobs when the default and latest bundles are actually the same version of CodeQL.
`~` is accepted by JSON but not by the Actions context language, so we use `null` to indicate the default version.
2021-04-09 13:38:30 -07:00
Aditya Sharad
f9a19da7bf
PR checks: Run integration tests against both tools: null and tools: latest
...
Always test against both the default and latest CodeQL bundle.
This improves test coverage shortly after a CodeQL bundle release, where the latest bundle
may not yet be built into the Actions VM image as the default bundle.
It also saves a manual step during bundle release testing,
since we no longer need to temporarily change the PR checks to `tools: latest`.
There is some redundancy when the latest bundle is the same as the default bundle on the VM image,
but this can be considered a test for the `tools: latest` configuration.
2021-04-08 13:39:01 -07:00
Simon Engledew
324d987bc6
Check if this mitigates the go 1.16 issue
2021-03-01 13:01:56 +00:00
Chris Gavin
fdf2494cfa
Don't run update release branch workflow on forks.
2021-02-23 11:44:38 +00:00
Robert
cfdf2eaf7a
move .github/workflows back where it was
2021-01-21 16:06:26 +00:00
Robin Neatherway
9ace6974f2
Merge pr-check and integration-testing workflows
...
These had some minor overlap checking that the JS is up to date and
there isn't any benefit in having them separate as the jobs are run in
parallel anyway.
2021-01-13 12:10:34 +00:00
Robert
70733e4ae5
add call operator
2021-01-12 11:44:25 +00:00
Robert
a432f684f7
Use CODEQL_RUNNER env var in integration tests
2021-01-12 11:29:42 +00:00
Robin Neatherway
3e176f8293
Gate execution of expensive tests on JS being up to date
2020-12-08 16:53:35 +00:00
Chris Gavin
fb2a3bf840
Add a check to ensure expected CodeQL release files exist.
2020-12-01 09:26:05 +00:00
Robert
32878b75b8
Merge branch 'main' into robertbrignull/go_autobuild
2020-11-30 12:47:38 +00:00
Robert
b1fd75309c
Update .github/workflows/integration-testing.yml
...
Co-authored-by: Chris Gavin <chris@chrisgavin.me >
2020-11-30 12:28:26 +00:00
Robin Neatherway
38ed96450e
Only analyze PRs against main and v1
...
We can only analyze PRs against those branches we are analyzing on push.
2020-11-27 17:37:32 +00:00
Robert
7174a81563
test Go autobuild
2020-11-27 11:34:02 +00:00
Chris Gavin
b59d204bbe
Merge branch 'main' into skip-integration-tests-prs-from-forks
2020-11-20 12:18:45 +00:00
Chris Gavin
fd36bec497
Skip Runner integration tests on pull requests from forks.
2020-11-20 11:47:43 +00:00
Robert
54c857ce0a
update build command
2020-11-13 15:15:58 +00:00
Robert
af27146b64
Merge branch 'main' into robertbrignull/go_build_trace
2020-11-13 10:24:37 +00:00
Simon Engledew
f76124122e
Remove output from README
...
As this is an advanced usage it makes more sense to work to getting this included in the documentation instead.
2020-11-05 08:31:35 +00:00
Simon Engledew
c87f3021d4
Expand readme to include codeql-path output example
...
Also add example from README into workflow to confirm it is accurate.
2020-11-04 19:35:19 +00:00
Simon Engledew
c213a7c7c9
Use codeql-path output in python-deps workflow
2020-11-04 17:22:32 +00:00
Robert
82e3812a35
Merge branch 'main' into robertbrignull/go_build_trace
2020-11-04 11:07:46 +00:00
Chris Gavin
4ffed2603e
Only increase the newest supported release, never reduce it.
2020-11-03 13:58:07 +00:00
Chris Gavin
beac9d5621
Fix a copy and pasted job name.
2020-11-03 13:57:41 +00:00
Chris Gavin
5e2fa08dae
Merge main into check-api-version.
2020-11-02 09:02:05 +00:00
Robert Brignull
2e550bba7f
Check CODEQL_EXTRACTOR_GO_BUILD_TRACING
...
Co-authored-by: Max Schaefer <54907921+max-schaefer@users.noreply.github.com >
2020-10-30 16:44:11 +00:00