mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
use the query compilation cache in the ATM qltest
This commit is contained in:
14
.github/workflows/js-ml-tests.yml
vendored
14
.github/workflows/js-ml-tests.yml
vendored
@@ -36,6 +36,12 @@ jobs:
|
||||
for pack in modelbuilding src; do
|
||||
codeql pack install --mode verify -- "${pack}"
|
||||
done
|
||||
|
||||
- name: Cache compilation cache
|
||||
id: query-cache
|
||||
uses: ./.github/actions/cache-query-compilation
|
||||
with:
|
||||
key: js-ml-compilation
|
||||
|
||||
- name: Check QL compilation
|
||||
run: |
|
||||
@@ -44,6 +50,7 @@ jobs:
|
||||
--ram 5120 \
|
||||
--additional-packs "${{ github.workspace }}" \
|
||||
--threads=0 \
|
||||
--compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
|
||||
-- \
|
||||
lib modelbuilding src
|
||||
|
||||
@@ -58,11 +65,18 @@ jobs:
|
||||
- name: Install pack dependencies
|
||||
run: codeql pack install -- test
|
||||
|
||||
- name: Cache compilation cache
|
||||
id: query-cache
|
||||
uses: ./.github/actions/cache-query-compilation
|
||||
with:
|
||||
key: js-ml-tests
|
||||
|
||||
- name: Run QL tests
|
||||
run: |
|
||||
codeql test run \
|
||||
--threads=0 \
|
||||
--ram 5120 \
|
||||
--additional-packs "${{ github.workspace }}" \
|
||||
--compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
|
||||
-- \
|
||||
test
|
||||
|
||||
Reference in New Issue
Block a user