File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 - name : Make database and analyze
6161 run : |
6262 ./ql/target/release/buramu | tee deprecated.blame # Add a blame file for the extractor to parse.
63- ${CODEQL} database create -l=ql ${DB} --search-path "${{ github.workspace }}"
63+ ${CODEQL} database create --threads=0 - l=ql ${DB} --search-path "${{ github.workspace }}"
6464 ${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 }}"
6565 env :
6666 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
Original file line number Diff line number Diff line change 5353 key : ql-for-ql-tests
5454 - name : Run QL tests
5555 run : |
56- "${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
56+ "${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
5757 env :
5858 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
5959
@@ -100,12 +100,12 @@ jobs:
100100 - name : Run a single QL tests - Unix
101101 if : runner.os != 'Windows'
102102 run : |
103- "${CODEQL}" test run --check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
103+ "${CODEQL}" test run --threads=0 -- check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
104104 env :
105105 CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
106106 - name : Run a single QL tests - Windows
107107 if : runner.os == 'Windows'
108108 shell : pwsh
109109 run : |
110110 $Env:PATH += ";$(dirname ${{ steps.find-codeql.outputs.codeql-path }})"
111- codeql test run --check-databases --search-path "${{ github.workspace }}" ql/ql/test/queries/style/DeadCode/DeadCode.qlref
111+ 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