Skip to content

Commit c29f93e

Browse files
classabbyampDuncaen
authored andcommitted
.github/workflows/codeql: update actions, containers, fix error
bash is needed for some scripts codeql runs
1 parent e82437f commit c29f93e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/codeql.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,22 @@ jobs:
2121
contents: read
2222
security-events: write
2323
container:
24-
image: ghcr.io/void-linux/void-glibc-full:20230830r1
24+
image: ghcr.io/void-linux/void-glibc-full:20240526R1
2525
steps:
2626
- name: Prepare container
2727
run: |
28-
xbps-install -Syu || xbps-install -yu xbps
28+
xbps-install -Syu xbps
29+
xbps-install -yu
2930
# node-based actions require libstdc++.so.6
31+
# codeql runs some bash scripts
3032
xbps-install -Sy \
31-
libstdc++ git \
33+
libstdc++ bash git \
3234
gcc make pkg-config zlib-devel openssl-devel libarchive-devel
3335
- name: Checkout repository
3436
uses: actions/checkout@v3
3537
- run: git config --global --add safe.directory $(pwd)
3638
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v2
39+
uses: github/codeql-action/init@v3
3840
with:
3941
languages: cpp
4042
config-file: ./.github/codeql/codeql-config.yaml
@@ -43,6 +45,6 @@ jobs:
4345
./configure
4446
make -j
4547
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@v2
48+
uses: github/codeql-action/analyze@v3
4749
with:
4850
category: "/language:cpp"

0 commit comments

Comments
 (0)