Skip to content

Commit

Permalink
Showing 205 changed files with 83,821 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
@@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
# Must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head of the pull request.
4 changes: 2 additions & 2 deletions .github/workflows/integration-testing.yml
@@ -36,7 +36,7 @@ jobs:
exit 1
fi
multi-language-repo_test-custom-queries:
multi-language-repo_test-custom-queries-and-remote-config:
strategy:
fail-fast: false
matrix:
@@ -54,7 +54,7 @@ jobs:
- uses: ./../action/init
with:
languages: cpp,csharp,java,javascript,python
config-file: ./.github/codeql/custom-queries.yml
config-file: github/codeql-action/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{ github.sha }}
- name: Build code
shell: bash
run: ./build.sh
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
@@ -10,6 +10,24 @@ Contributions to this project are [released](https://help.github.com/articles/gi

Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.

## Development and Testing

Before you start, ensure that you have a recent version of node installed. You can see which version of node is used by the action in `init/action.yml`.

### Common tasks

* Transpile the TypeScript to JavaScript: `npm run build`. Note that the JavaScript files are committed to git.
* Run tests: `npm run test`. You’ll need to ensure that the JavaScript files are up-to-date first by running the command above.
* Run the linter: `npm run lint`.

### Running the action

To see the effect of your changes and to test them, push your changes in a branch and then look at the [Actions output](https://github.com/github/codeql-action/actions) for that branch. You can also exercise the code locally by running the automated tests.

### Integration tests

As well as the unit tests (see _Common tasks_ above), there are integration tests, defined in `.github/workflows/integration-testing.yml`. These are run by a CI check. Depending on the change you’re making, you may want to add a test to this file or extend an existing one.

## Submitting a pull request

1. [Fork][fork] and clone the repository
4 changes: 0 additions & 4 deletions README.md
@@ -26,10 +26,6 @@ on:

jobs:
CodeQL-Build:

strategy:
fail-fast: false

# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

2 changes: 1 addition & 1 deletion init/action.yml
@@ -5,7 +5,7 @@ inputs:
tools:
description: URL of CodeQL tools
required: false
default: https://github.com/github/codeql-action/releases/download/codeql-bundle-20200601/codeql-bundle.tar.gz
default: https://github.com/github/codeql-action/releases/download/codeql-bundle-20200630/codeql-bundle.tar.gz
languages:
description: The languages to be analysed
required: false
81 changes: 69 additions & 12 deletions lib/config-utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/config-utils.js.map

Large diffs are not rendered by default.

110 changes: 107 additions & 3 deletions lib/config-utils.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/config-utils.test.js.map
97 changes: 97 additions & 0 deletions node_modules/@sinonjs/commons/.circleci/config.yml
21 changes: 21 additions & 0 deletions node_modules/@sinonjs/commons/.editorconfig
1 change: 1 addition & 0 deletions node_modules/@sinonjs/commons/.eslintignore
52 changes: 52 additions & 0 deletions node_modules/@sinonjs/commons/.eslintrc.yaml
3 changes: 3 additions & 0 deletions node_modules/@sinonjs/commons/.prettierrc
25 changes: 25 additions & 0 deletions node_modules/@sinonjs/commons/CHANGES.md
84 changes: 84 additions & 0 deletions node_modules/@sinonjs/commons/CODE_OF_CONDUCT.md
29 changes: 29 additions & 0 deletions node_modules/@sinonjs/commons/LICENSE
16 changes: 16 additions & 0 deletions node_modules/@sinonjs/commons/README.md
81 changes: 81 additions & 0 deletions node_modules/@sinonjs/commons/eslint-local-rules.js
57 changes: 57 additions & 0 deletions node_modules/@sinonjs/commons/lib/called-in-order.js
121 changes: 121 additions & 0 deletions node_modules/@sinonjs/commons/lib/called-in-order.test.js
27 changes: 27 additions & 0 deletions node_modules/@sinonjs/commons/lib/class-name.js
37 changes: 37 additions & 0 deletions node_modules/@sinonjs/commons/lib/class-name.test.js
58 changes: 58 additions & 0 deletions node_modules/@sinonjs/commons/lib/deprecated.js
100 changes: 100 additions & 0 deletions node_modules/@sinonjs/commons/lib/deprecated.test.js
27 changes: 27 additions & 0 deletions node_modules/@sinonjs/commons/lib/every.js
41 changes: 41 additions & 0 deletions node_modules/@sinonjs/commons/lib/every.test.js
29 changes: 29 additions & 0 deletions node_modules/@sinonjs/commons/lib/function-name.js
76 changes: 76 additions & 0 deletions node_modules/@sinonjs/commons/lib/function-name.test.js
22 changes: 22 additions & 0 deletions node_modules/@sinonjs/commons/lib/global.js
16 changes: 16 additions & 0 deletions node_modules/@sinonjs/commons/lib/global.test.js
14 changes: 14 additions & 0 deletions node_modules/@sinonjs/commons/lib/index.js
29 changes: 29 additions & 0 deletions node_modules/@sinonjs/commons/lib/index.test.js
36 changes: 36 additions & 0 deletions node_modules/@sinonjs/commons/lib/order-by-first-call.js
52 changes: 52 additions & 0 deletions node_modules/@sinonjs/commons/lib/order-by-first-call.test.js
44 changes: 44 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/README.md
5 changes: 5 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/array.js
21 changes: 21 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/copy-prototype.js
5 changes: 5 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/function.js
10 changes: 10 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/index.js
51 changes: 51 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/index.test.js
5 changes: 5 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/map.js
5 changes: 5 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/object.js
5 changes: 5 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/set.js
5 changes: 5 additions & 0 deletions node_modules/@sinonjs/commons/lib/prototypes/string.js
13 changes: 13 additions & 0 deletions node_modules/@sinonjs/commons/lib/type-of.js
51 changes: 51 additions & 0 deletions node_modules/@sinonjs/commons/lib/type-of.test.js
17 changes: 17 additions & 0 deletions node_modules/@sinonjs/commons/lib/value-to-string.js
20 changes: 20 additions & 0 deletions node_modules/@sinonjs/commons/lib/value-to-string.test.js
53 changes: 53 additions & 0 deletions node_modules/@sinonjs/commons/package.json
347 changes: 347 additions & 0 deletions node_modules/@sinonjs/fake-timers/CHANGELOG.md
11 changes: 11 additions & 0 deletions node_modules/@sinonjs/fake-timers/LICENSE
341 changes: 341 additions & 0 deletions node_modules/@sinonjs/fake-timers/README.md
2,625 changes: 2,625 additions & 0 deletions node_modules/@sinonjs/fake-timers/fake-timers.js

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions node_modules/@sinonjs/fake-timers/package.json

0 comments on commit eaf6649

Please sign in to comment.