Skip to content

Commit

Permalink
pass queries to codeql via a file
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brignull committed Jun 1, 2020
1 parent 655c449 commit f18fffb
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 23 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/integration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
TEST_MODE: true
- run: |
cd "$CODEQL_ACTION_DATABASE_DIR"
if [ "$(ls | wc -l)" != 6 ] || \
# List all directories as there will be precisely one directory per database
# but there may be other files in this directory such as query suites.
if [ "$(ls -d */ | wc -l)" != 6 ] || \
[[ ! -d cpp ]] || \
[[ ! -d csharp ]] || \
[[ ! -d go ]] || \
Expand Down
30 changes: 20 additions & 10 deletions lib/finalize-db.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/finalize-db.js.map

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

Loading

0 comments on commit f18fffb

Please sign in to comment.