Skip to content

Commit

Permalink
.github/workflows/codeql: update actions, containers, fix error
Browse files Browse the repository at this point in the history
bash is needed for some scripts codeql runs
  • Loading branch information
classabbyamp committed Jan 2, 2025
1 parent e82437f commit c8054a7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,22 @@ jobs:
contents: read
security-events: write
container:
image: ghcr.io/void-linux/void-glibc-full:20230830r1
image: ghcr.io/void-linux/void-glibc-full:20240526R1
steps:
- name: Prepare container
run: |
xbps-install -Syu || xbps-install -yu xbps
xbps-install -Syu xbps
xbps-install -yu
# node-based actions require libstdc++.so.6
# codeql runs some bash scripts
xbps-install -Sy \
libstdc++ git \
libstdc++ bash git \
gcc make pkg-config zlib-devel openssl-devel libarchive-devel
- name: Checkout repository
uses: actions/checkout@v3
- run: git config --global --add safe.directory $(pwd)
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: cpp
config-file: ./.github/codeql/codeql-config.yaml
Expand All @@ -43,6 +45,6 @@ jobs:
./configure
make -j
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:cpp"

0 comments on commit c8054a7

Please sign in to comment.