Marco Gario
1157017557
Assume small bundles are available in the official repo
2020-09-17 17:47:01 +02:00
Marco Gario
7f2fa9ca20
Merge branch 'main' into platform_lang_pkg
2020-09-17 14:02:08 +02:00
Marco Gario
b9f08d924a
Fix early termination
2020-09-17 13:58:16 +02:00
Marco Gario
4d836f4b5a
fix linter
2020-09-15 15:50:23 +02:00
Marco Gario
b9e8fa6371
Merge remote-tracking branch 'origin/main' into platform_lang_pkg
2020-09-15 15:30:34 +02:00
Robert Brignull
121fd331cd
Introduce actions-util.ts
2020-09-15 14:01:21 +01:00
Nick Fyson
e5e9aad174
Merge branch 'main' into nickfyson/error_wrapper
...
# Conflicts:
# lib/codeql.js
# lib/codeql.js.map
# src/codeql.ts
2020-09-14 13:30:37 +01:00
Chris Raynor
a184d50a26
Running lint-fix
2020-09-14 10:44:43 +01:00
Nick Fyson
b104d6e035
Merge branch 'main' into nickfyson/error_wrapper
...
# Conflicts:
# lib/codeql.js.map
2020-09-11 19:04:05 +01:00
Nick Fyson
77f767cb34
add optional workflow input to specify whether snippets are added to sarif output
2020-09-10 18:26:58 +01:00
Marco Gario
57b0b7fd1d
Add logic to download codeql platform-language pkg
...
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
2020-09-09 13:53:11 +02:00
Marco Gario
d3d7dd4600
# This is a combination of 4 commits.
...
# This is the 1st commit message:
Add logic to download codeql platform-language pkg
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
# The commit message #2 will be skipped:
# add test
# The commit message #3 will be skipped:
# cleanup
# The commit message #4 will be skipped:
# linter
2020-09-09 13:52:43 +02:00
Marco Gario
3f5bb98d7e
# This is a combination of 4 commits.
...
# This is the 1st commit message:
Add logic to download codeql platform-language pkg
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
# The commit message #2 will be skipped:
# Add simple fallback logic for download
# The commit message #3 will be skipped:
# wip linter
# The commit message #4 will be skipped:
# linter
2020-09-09 13:52:06 +02:00
Marco Gario
7951f91d00
Add logic to download codeql platform-language pkg
...
* Add `bundleName` argument to `getCodeQLBundleDownloadURL`
* Add `languages` argument to `setupCodeQL`.
The logic now tries to find the platform-language pkg before defaulting
to the full bundle. We keep the toolcache clean by adding the pl version
to the tool version.
2020-09-09 13:50:48 +02:00
Nick Fyson
88951d6193
renames to reflect the switch to using toolrunner
2020-09-08 00:01:04 +01:00
Nick Fyson
3cd41279f2
Merge branch 'main' into nickfyson/error_wrapper
...
# Conflicts:
# lib/codeql.js
# lib/codeql.js.map
# src/codeql.ts
2020-09-07 23:55:32 +01:00
Nick Fyson
cc2dfaf5d8
clean up and rename things to follow proper conventions
2020-09-07 23:02:58 +01:00
Nick Fyson
3e6d23928b
add test for initial error matcher
2020-09-07 22:50:37 +01:00
Nick Fyson
7dbaff09b6
move error matcher definition into dedicated file
2020-09-07 18:37:51 +01:00
Nick Fyson
dd4e841441
remove spurious use of exec_wrapper
2020-09-03 17:01:51 +01:00
Robert Brignull
32eb1c4c34
Print that we are downloading codeql and it may take a while
2020-09-02 18:02:49 +01:00
Nick Fyson
6ef533485e
wrap more codeql calls in the error catcher wrapper
2020-09-01 16:51:39 +01:00
Nick Fyson
7b7e0e12b7
update error_wrapper to take matcher array
2020-09-01 16:35:08 +01:00
Robert Brignull
4c00c68d14
Add --ram and --threads args
2020-09-01 14:27:56 +01:00
Robert Brignull
09fb3ec514
Remove a call to getActionsApiClient
2020-09-01 14:01:21 +01:00
Robert Brignull
c3d6602e8a
use ToolRunner directly instead of exec wrapper
2020-08-28 16:59:34 +01:00
Robert Brignull
1fd45d7407
address review comments
2020-08-27 16:34:09 +01:00
Robert Brignull
1c004b9275
inline tracer-env.js
2020-08-26 16:20:36 +01:00
Robert Brignull
217483dfd6
Convert rest of the actions
2020-08-26 16:20:36 +01:00
Robert Brignull
407ef0ac11
Break out tracer-config.ts
2020-08-24 12:53:09 +01:00
Nick Fyson
2b27c68c84
add exec_wrapper function
2020-08-24 11:22:25 +01:00
Robert Brignull
0e8b30af75
Merge branch 'main' into add_env_to_config
2020-08-21 10:32:58 +01:00
Robert Brignull
038c4ebdf7
add CodeQL cmd to config
2020-08-19 15:57:13 +01:00
Robert Brignull
574b5dc4e9
Merge branch 'main' into language_parsing
2020-08-19 09:40:47 +01:00
Esben Sparre Andreasen
9597f2e889
build typescript
2020-08-18 08:32:33 +02:00
Robert Brignull
00eee2b7ee
Merge branch 'main' into language_parsing
2020-08-17 13:21:02 +01:00
Chris Gavin
73c73baaa2
Merge branch 'main' into chrisgavin/default-bundle-version-json
2020-08-14 15:53:07 +01:00
Chris Gavin
9c5f7640e5
Merge branch 'main' into chrisgavin/default-bundle-version-json
2020-08-11 17:52:34 +01:00
Robert Brignull
34b372292b
commit node_modules and generated files
2020-08-11 12:43:27 +01:00
Robert Brignull
591359cae6
introduce languages.ts
2020-08-10 16:03:09 +01:00
Robert
7c2a7b236c
Merge remote-tracking branch 'origin/main' into actions_io
2020-08-10 15:59:27 +01:00
Chris Gavin
97eafbc804
Store the default CodeQL bundle version in a JSON file.
2020-08-10 13:41:45 +01:00
Robert
de0b59097a
remove direct dependency on @actions/io
2020-08-07 18:09:45 +01:00
Robert
396f7167d8
remove CODEQL_ACTION_TRACED_LANGUAGES and CODEQL_ACTION_SCANNED_LANGUAGES
2020-08-07 16:55:45 +01:00
Robert Brignull
368c14c502
avoid sending status reports on enterprise
2020-07-30 13:00:35 +01:00
Chris Gavin
74b4d8a6db
Remove DEFAULT_ from some constant names.
2020-07-27 11:04:49 +01:00
Chris Gavin
175d681835
Factor out reimplementation of toolcache download into its own method.
2020-07-27 11:02:37 +01:00
Chris Gavin
f4e72f4a09
Add a comment explaining an edge-case.
2020-07-27 10:51:51 +01:00
Chris Gavin
5f057318b6
Fix a typo.
2020-07-27 10:48:00 +01:00
Chris Gavin
0f88c0111f
Change INSTANCE_API_URL constant to a method.
2020-07-27 10:47:45 +01:00