@@ -21,44 +21,45 @@ jobs:
21
21
fail-fast : false
22
22
matrix :
23
23
language : [ 'cpp' ]
24
+
24
25
steps :
25
26
- name : Checkout repository
26
27
uses : actions/checkout@4
27
28
28
- - name : Install QLT
29
- id : install-qlt
30
- uses : ./.github/actions/install-qlt-local
31
- with :
32
- qlt-version : ' latest'
33
- add-to-path : true
29
+ - name : Install QLT
30
+ id : install-qlt
31
+ uses : ./.github/actions/install-qlt-local
32
+ with :
33
+ qlt-version : ' latest'
34
+ add-to-path : true
34
35
35
- - name : Validate QLT Installation
36
- shell : bash
37
- run : |
38
- echo -e "Checking QLT Version:"
39
- echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
40
- qlt version
36
+ - name : Validate QLT Installation
37
+ shell : bash
38
+ run : |
39
+ echo -e "Checking QLT Version:"
40
+ echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
41
+ qlt version
41
42
42
- - name : Create Bundle (compiled)
43
- shell : bash
44
- run : |
45
- if ! qlt codeql run install --base example/ --custom-bundle ; then
46
- echo "Failed to generate bundle."
47
- exit 1
48
- fi
43
+ - name : Create Bundle (compiled)
44
+ shell : bash
45
+ run : |
46
+ if ! qlt codeql run install --base example/ --custom-bundle ; then
47
+ echo "Failed to generate bundle."
48
+ exit 1
49
+ fi
49
50
50
- # ensure bundle runs
51
+ # ensure bundle runs
51
52
52
- if ! qlt query run install-packs --use-bundle --base example/ ; then
53
- echo "Failed to install query packs with tool."
54
- exit 1
55
- fi
53
+ if ! qlt query run install-packs --use-bundle --base example/ ; then
54
+ echo "Failed to install query packs with tool."
55
+ exit 1
56
+ fi
56
57
57
- - name : Validate Bundle Existence
58
- shell : bash
59
- run : |
60
- echo "Checking Bundle Existence"
61
- ls -l ${{ env.QLT_CODEQL_HOME }}/../out/
58
+ - name : Validate Bundle Existence
59
+ shell : bash
60
+ run : |
61
+ echo "Checking Bundle Existence"
62
+ ls -l ${{ env.QLT_CODEQL_HOME }}/../out/
62
63
63
64
- name : Initialize CodeQL
64
65
uses : github/codeql-action/init@v2
0 commit comments