Skip to content

Commit 7b2ccb8

Browse files
author
Paolo Tranquilli
committed
Swift: fix CodeQL analysis workflow
1 parent 493e757 commit 7b2ccb8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/cpp-swift-analysis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
CodeQL-Build:
2121

22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-24.04
2323

2424
permissions:
2525
contents: read
@@ -38,18 +38,16 @@ jobs:
3838
languages: cpp
3939
config-file: ./.github/codeql/codeql-config.yml
4040

41-
- name: "[Ubuntu] Remove GCC 13 from runner image"
42-
shell: bash
43-
run: |
44-
sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
45-
sudo apt-get update
46-
sudo apt-get install -y --allow-downgrades libc6=2.35-* libc6-dev=2.35-* libstdc++6=12.3.0-* libgcc-s1=12.3.0-*
47-
4841
- name: "Build Swift extractor using Bazel"
4942
run: |
5043
bazel clean --expunge
5144
bazel run //swift:install --nouse_action_cache --noremote_accept_cached --noremote_upload_local_results --spawn_strategy=local
5245
bazel shutdown
5346
47+
- name: Install runtime dependencies
48+
run: |
49+
sudo apt-get update
50+
sudo apt-get install -y uuid-runtime
51+
5452
- name: Perform CodeQL Analysis
5553
uses: github/codeql-action/analyze@main

0 commit comments

Comments
 (0)