File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 - name : Make database and analyze
6060 run : |
6161 ./ql/target/release/buramu | tee deprecated.blame # Add a blame file for the extractor to parse.
62- ${CODEQL} database create -l=ql ${DB} --search-path "${{ github.workspace }}"
62+ ${CODEQL} database create --threads=0 - l=ql ${DB} --search-path "${{ github.workspace }}"
6363 ${CODEQL} database analyze -j0 --format=sarif-latest --output=ql-for-ql.sarif ${DB} ql/ql/src/codeql-suites/ql-code-scanning.qls --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
6464 env :
6565 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
Original file line number Diff line number Diff line change 4444 key : ql-for-ql-tests
4545 - name : Run QL tests
4646 run : |
47- "${CODEQL}" test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path "${{ github.workspace }}" --consistency-queries ql/ql/consistency-queries --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" ql/ql/test
47+ "${CODEQL}" test run --threads=0 -- check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path "${{ github.workspace }}" --consistency-queries ql/ql/consistency-queries --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" ql/ql/test
4848 env :
4949 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
5050
@@ -91,12 +91,12 @@ jobs:
9191 - name : Run a single QL tests - Unix
9292 if : runner.os != 'Windows'
9393 run : |
94- "${CODEQL}" test run --check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
94+ "${CODEQL}" test run --threads=0 -- check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
9595 env :
9696 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
9797 - name : Run a single QL tests - Windows
9898 if : runner.os == 'Windows'
9999 shell : pwsh
100100 run : |
101101 $Env:PATH += ";$(dirname ${{ steps.find-codeql.outputs.codeql-path }})"
102- codeql test run --check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
102+ codeql test run --threads=0 -- check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
You can’t perform that action at this time.
0 commit comments