File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 39
39
cd ql;
40
40
codeqlpath=$(dirname ${{ steps.find-codeql.outputs.codeql-path }});
41
41
env "PATH=$PATH:$codeqlpath" ./scripts/create-extractor-pack.sh
42
+ - name : Cache compilation cache
43
+ id : query-cache
44
+ uses : ./.github/actions/cache-query-compilation
45
+ with :
46
+ key : ql-for-ql-tests
42
47
- name : Run QL tests
43
48
run : |
44
- "${CODEQL}" test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path "${{ github.workspace }}/ql/extractor-pack" --consistency-queries ql/ql/consistency-queries ql/ql/test
49
+ "${CODEQL}" test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path "${{ github.workspace }}/ql/extractor-pack" --consistency-queries ql/ql/consistency-queries --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" ql/ql/test
45
50
env :
46
51
CODEQL : ${{ steps.find-codeql.outputs.codeql-path }}
47
52
You can’t perform that action at this time.
0 commit comments