Skip to content

Commit a253906

Browse files
committed
work
1 parent c1cc180 commit a253906

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/demo-run-codeql-unit-tests.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,33 +39,37 @@ jobs:
3939

4040

4141
- name: Install QLT
42+
id: install-qlt
4243
uses: ./.github/actions/install-qlt
4344
with:
4445
qlt-version: 'latest'
4546
add-to-path: true
4647

4748
- name: Install CodeQL
48-
if: steps.cache-codeql.outputs.cache-hit != 'true'
49+
id: install-codeql
4950
uses: ./.github/actions/install-codeql
5051
with:
5152
codeql-cli-version: ${{ matrix.codeql_cli }}
5253
codeql-stdlib-version: ${{ matrix.codeql_standard_library }}
53-
codeql-home: ${{ github.workspace }}/codeql_home
54-
add-to-path: false
54+
add-to-path: true
5555

5656
- name: Verify Versions of Tooling
5757
shell: bash
5858
run: |
59-
echo $PATH
59+
echo "PATH: $PATH"
60+
61+
echo "CodeQL Home: ${{ steps.install-codeql.outputs.codeql-home }}"
6062
echo -e "Checking CodeQL Version:"
61-
${{ github.workspace }}/codeql_home/codeql/codeql --version
63+
codeql --version
64+
6265
echo -e "Checking QLT Version:"
66+
echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
6367
qlt version
6468
6569
- name: Install QL Packs
6670
shell: bash
6771
run: |
68-
find . -name 'qlpack.yml' | xargs -L1 /opt/codeql_home/codeql/codeql pack install
72+
find . -name 'qlpack.yml' | xargs -L1 codeql pack install
6973
7074
- name: Run test suites
7175
id: run-test-suites

0 commit comments

Comments
 (0)