File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 36
36
for pack in modelbuilding src; do
37
37
codeql pack install --mode verify -- "${pack}"
38
38
done
39
+
40
+ - name : Cache compilation cache
41
+ id : query-cache
42
+ uses : ./.github/actions/cache-query-compilation
43
+ with :
44
+ key : js-ml-compilation
39
45
40
46
- name : Check QL compilation
41
47
run : |
44
50
--ram 5120 \
45
51
--additional-packs "${{ github.workspace }}" \
46
52
--threads=0 \
53
+ --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
47
54
-- \
48
55
lib modelbuilding src
49
56
@@ -58,11 +65,18 @@ jobs:
58
65
- name : Install pack dependencies
59
66
run : codeql pack install -- test
60
67
68
+ - name : Cache compilation cache
69
+ id : query-cache
70
+ uses : ./.github/actions/cache-query-compilation
71
+ with :
72
+ key : js-ml-tests
73
+
61
74
- name : Run QL tests
62
75
run : |
63
76
codeql test run \
64
77
--threads=0 \
65
78
--ram 5120 \
66
79
--additional-packs "${{ github.workspace }}" \
80
+ --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" \
67
81
-- \
68
82
test
You can’t perform that action at this time.
0 commit comments