Commit Graph

230 Commits

Author SHA1 Message Date
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 1f3ce75844 add initial suite of tests for exec_wrapper 2020-09-07 15:17:43 +01:00
Nick Fyson 9701a93bf1 ensure exec_wrapper always captures exit code of called process 2020-09-07 15:17:19 +01:00
Nick Fyson dd4e841441 remove spurious use of exec_wrapper 2020-09-03 17:01:51 +01:00
Nick Fyson 6a43a6178d ensure matchers not applied if exit code is zero 2020-09-03 16:42:56 +01:00
Nick Fyson 231537b08e refactor to handle exec.exec return values together 2020-09-02 16:32:28 +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
Nick Fyson cd22abcda8 add example regex match for stdout/err string 2020-08-25 10:54:54 +01:00
Nick Fyson 45e00a8e6a match existing behaviour when custom listeners defined 2020-08-24 18:35:22 +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 d193e5f876 Merge branch 'main' into action_libs_query 2020-08-21 10:07:22 +01:00
Robert Brignull 038c4ebdf7 add CodeQL cmd to config 2020-08-19 15:57:13 +01:00
Robert Brignull 360e77a083 remove direct accesses to RUNNER_TEMP 2020-08-19 15:25:27 +01:00
Robert Brignull 9c29fe283d add tempDir and toolCacheDir to config 2020-08-19 15:11:49 +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 d6fbafb242 add tests 2020-08-17 13:34:55 +01:00
Robert Brignull 1943ed432b use enum 2020-08-17 13:34:34 +01:00
Robert Brignull 00eee2b7ee Merge branch 'main' into language_parsing 2020-08-17 13:21:02 +01:00
Robert Brignull 96ded2b500 Merge remote-tracking branch 'origin/main' into max_threads 2020-08-17 12:47:19 +01:00
Robert Brignull 5eb3736850 move maxThreads outside of loop 2020-08-17 12:46:55 +01:00
Robert Brignull d49b8673bb fix alerts 2020-08-17 12:42:23 +01:00
Chris Gavin 73c73baaa2 Merge branch 'main' into chrisgavin/default-bundle-version-json 2020-08-14 15:53:07 +01:00
Robert Brignull aaeb9751bb use all available threads for analysis 2020-08-14 14:24:08 +01:00
Robert Brignull 4b56177c28 Re-throw errors 2020-08-12 18:06:34 +01:00
Robert Brignull 5b0aafadb1 address comments 2020-08-12 17:42:47 +01:00
Chris Gavin 9c5f7640e5 Merge branch 'main' into chrisgavin/default-bundle-version-json 2020-08-11 17:52:34 +01:00
Robert Brignull cf08f5a9cd remove unused arguments 2020-08-11 13:56:23 +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
Robert 0fdcc52338 Merge branch 'main' into actions_io 2020-08-10 15:50:44 +01:00
Robert eb4eda5cbe Merge branch 'main' into remove_some_shared_env 2020-08-10 15:28:44 +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 d5c453c995 mock API request in test 2020-08-07 17:15:46 +01:00
Robert Brignull 657540584e add tests 2020-08-07 17:02:42 +01:00
Robert a0660c80bd remove should_abort method 2020-08-07 16:56:04 +01:00
Robert 396f7167d8 remove CODEQL_ACTION_TRACED_LANGUAGES and CODEQL_ACTION_SCANNED_LANGUAGES 2020-08-07 16:55:45 +01:00
Robert e5ad069f2c remove CODEQL_ACTION_ANALYSIS_KEY 2020-08-07 16:54:58 +01:00
Robert 5b35de62bd remove CODEQL_ACTION_DATABASE_DIR 2020-08-07 16:08:16 +01:00
Robert Brignull d5853409b4 Provide a better error message when language is not recognised 2020-08-06 17:34:45 +01:00
Robert ac66bbe1fe Merge branch 'main' into always_log_error 2020-08-06 16:25:10 +01:00
Robert Brignull 8127c47bbd always log full error 2020-08-05 09:43:46 +01:00
Robert Brignull 44c88fdd05 fix undefined check 2020-08-05 09:40:12 +01:00
Robert Brignull 6230b36dc2 update error message 2020-08-05 09:23:51 +01:00
Robert Brignull 3d552ba624 Merge branch 'main' into languages_error 2020-08-05 09:22:58 +01:00