Skip to content

Commit

Permalink
FIX: Update codeql.yml to fix consistent error (#1037)
Browse files Browse the repository at this point in the history
FIX: Update codeql.yml to fix consistent error:
- Set explicit ubuntu version to 22.04
- Install clang and llvm by default
  • Loading branch information
Mionsz authored Jan 10, 2025
1 parent a02c0a3 commit fadcff0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: 'ubuntu-22.04'
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -61,10 +60,9 @@ jobs:

- name: Install the build dependency
run: |
sudo apt-get update -y
sudo apt-get install -y sudo git gcc meson python3 python3-pyelftools pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libsdl2-dev libsdl2-ttf-dev libssl-dev
sudo apt-get install -y dpdk-dev
sudo apt-get install -y systemtap-sdt-dev
sudo apt-get update --fix-missing -y
sudo apt-get install --no-install-recommends -y sudo git gcc meson python3 python3-pyelftools pkg-config libnuma-dev libjson-c-dev libpcap-dev libgtest-dev libsdl2-dev libsdl2-ttf-dev libssl-dev llvm clang
sudo apt-get install --no-install-recommends -y dpdk-dev systemtap-sdt-dev software-properties-common
- name: Git config
run: |
Expand Down

0 comments on commit fadcff0

Please sign in to comment.