Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
Robert Brignull 4c00c68d14 Add --ram and --threads args 2020-09-01 14:27:56 +01:00
Esben Sparre Andreasen 9597f2e889 build typescript 2020-08-18 08:32:33 +02:00
Andrew Eisenberg 42235cc048
Allow the codeql-action to be run locally (#117)
* Allow the codeql-action to be run locally

This change allows the codeql-action to be run locally through
[act](https://github.com/nektos/act).

In order to run the action locally, you need to do two things:

1. Add the `CODEQL_LOCAL_RUN: true` environment variable. The only way
   I could figure out how to do this was to add it directly in the
   workflow file in an `env` block. It _should_ be possible to add it
   through a `.env` file and pass it to `act`, but I couldn't get it
   working.
2. Run this command `act -j codeql -s GITHUB_TOKEN=<MY_PAT>`

Setting the `CODEQL_LOCAL_RUN` env var will fill in missing env vars
that the action needs, but isn't set by `act`. It will also avoid
making api calls to github that would fail locally.

This is a refactoring discussed in
https://github.com/github/dsp-codeql/issues/36
2020-08-04 14:35:20 -07:00
Robert Brignull 0086c2ecdb use @actions/github 2020-07-06 16:25:26 +01:00
Robin Neatherway 151d531bd0 Correct copy/pasted test description 2020-06-26 16:01:59 +01:00
Robin Neatherway a0d4330434 Simplify singleton tests by removing the loop 2020-06-26 15:25:32 +01:00
Robin Neatherway bb9ed79f3d getRequiredEnvParams must be non-empty 2020-06-26 11:44:17 +01:00
Robert Brignull bd4042802d Merge remote-tracking branch 'origin/main' into only-output-on-failure 2020-06-23 14:36:53 +01:00
Robert Brignull 56f06c77fd add calls 2020-06-23 14:36:40 +01:00
Alex Kalyvitis 31996935e6 reformat code and allow negative values for threads 2020-06-22 21:39:09 +02:00
Alex Kalyvitis dcba70915d move functions to util.ts 2020-06-22 17:17:25 +02:00
Robert Brignull aa54af7018 enable source maps 2020-05-14 11:07:58 +01:00
Robert Brignull 572c8bbc0c switch to using ava 2020-05-13 11:14:03 +01:00