Skip to content

Commit fadcff0

Browse files
authored
FIX: Update codeql.yml to fix consistent error (#1037)
FIX: Update codeql.yml to fix consistent error: - Set explicit ubuntu version to 22.04 - Install clang and llvm by default
1 parent a02c0a3 commit fadcff0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ permissions:
2828
jobs:
2929
analyze:
3030
name: Analyze
31-
runs-on: ubuntu-latest
31+
runs-on: 'ubuntu-22.04'
3232
permissions:
3333
actions: read
3434
contents: read
3535
security-events: write
36-
3736
strategy:
3837
fail-fast: false
3938
matrix:
@@ -61,10 +60,9 @@ jobs:
6160

6261
- name: Install the build dependency
6362
run: |
64-
sudo apt-get update -y
65-
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
66-
sudo apt-get install -y dpdk-dev
67-
sudo apt-get install -y systemtap-sdt-dev
63+
sudo apt-get update --fix-missing -y
64+
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
65+
sudo apt-get install --no-install-recommends -y dpdk-dev systemtap-sdt-dev software-properties-common
6866
6967
- name: Git config
7068
run: |

0 commit comments

Comments
 (0)