Skip to content

Commit 8f2fb39

Browse files
committed
fixup! codeql: run static analysis as part of CI builds
As of b133d30 (github: simplify computation of the job's distro, 2025-01-10), the `apt-get update` call that is guarded by `$distro` in the `ci/install-dependencies.sh` script requires the `CI_JOB_IMAGE` variable to set correctly (which is used to initialize `distro` in the GitHub Actions-specific part at the top of `ci/lib.sh`). Let's do the same in the CodeQL workflow. Noticed-by: Derrick Stolee <stolee@gmail.com> Noticed-by: Tyrie Vella <tyrielv@gmail.com> Noticed-by: Matthew John Cheetham <mjcheetham@outlook.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 9769f1d commit 8f2fb39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
if: matrix.language == 'cpp'
3131
env:
3232
jobname: codeql
33+
CI_JOB_IMAGE: ubuntu-latest
3334

3435
# Initializes the CodeQL tools for scanning.
3536
- name: Initialize CodeQL

0 commit comments

Comments
 (0)