Skip to content

Commit 025c597

Browse files
author
Alvaro Muñoz
committed
Make scripts executable
- Add +x to all shell scripts - Clone CodeQL repo only once - Do not provide the additional_pack ./codeql/misc during QLPack installation
1 parent eb2e5cc commit 025c597

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/scripts/pr-compile.sh

100644100755
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ LANGUAGE=${2}
66
# to stop recompiling all queries if multiple files are modified
77
LIBRARY_SCANNED=false
88

9-
echo "[+] Cloning CodeQL"
10-
gh repo clone github/codeql
11-
129
echo "[+] Compiling all queries in $LANGUAGE"
1310
gh codeql query compile \
1411
--threads=0 --check-only \

.github/scripts/pr-suites-packs.sh

100644100755
File mode changed.

.github/scripts/pr-tests.sh

100644100755
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ if [[ ! -d ./${LANGUAGE}/test/ ]]; then
99
exit 0
1010
fi
1111

12-
echo "[+] Cloning CodeQL"
13-
gh repo clone github/codeql
14-
1512
echo "[+] Compiling all queries in $LANGUAGE"
1613
gh codeql query compile \
1714
--threads=0 --check-only \

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
gh repo clone github/codeql
3737
gh extension install github/gh-codeql
3838
gh codeql pack download "codeql/${{ matrix.language }}-queries"
39-
gh codeql pack install --additional-packs=./codeql/misc "${{ matrix.language }}/ext/"
40-
gh codeql pack install --additional-packs=./codeql/misc "${{ matrix.language }}/ext_library_sources/"
41-
gh codeql pack install --additional-packs=./codeql/misc "${{ matrix.language }}/lib"
42-
gh codeql pack install --additional-packs=./codeql/misc "${{ matrix.language }}/src"
43-
gh codeql pack install --additional-packs=./codeql/misc "${{ matrix.language }}/test"
39+
gh codeql pack install "${{ matrix.language }}/ext/"
40+
gh codeql pack install "${{ matrix.language }}/ext_library_sources/"
41+
gh codeql pack install "${{ matrix.language }}/lib"
42+
gh codeql pack install "${{ matrix.language }}/src"
43+
gh codeql pack install "${{ matrix.language }}/test"
4444
4545
- name: Compile Queries
4646
if: steps.changes.outputs.src == 'true'

0 commit comments

Comments
 (0)