Skip to content

Commit 6fa62fc

Browse files
committed
.github/workflows: Sync LLVM apt repository version with runner version
Make sure we use the right apt repository for the version of Ubuntu used as the workflow runner. Explicitly select ubuntu-22.04 (instead of ubuntu-latest) to make sure the distro version doesn't change out from under us when Github updates their runner config. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
1 parent d767f28 commit 6fa62fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/selftests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
1414
KERNEL_VERSION:
@@ -39,7 +39,7 @@ jobs:
3939
- name: Prepare Clang
4040
run: |
4141
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
42-
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-16 main" | sudo tee -a /etc/apt/sources.list
42+
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" | sudo tee -a /etc/apt/sources.list
4343
sudo apt-get -qq update
4444
sudo apt-get -qq -y install clang-16 lld-16 llvm-16
4545
- name: Install latest bpftool

0 commit comments

Comments
 (0)