Skip to content

Commit d55e6a2

Browse files
committed
test.yml: run apt update before installing anything
Fixes failures like: https://github.com/libbpf/vmlinux.h/actions/runs/22324190820/job/64590178451 Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent 3f71601 commit d55e6a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
repository: libbpf/libbpf-rs
6262
path: libbpf-rs
6363
- name: Install development dependencies
64-
run: sudo apt-get install -y gcc-multilib libelf-dev zlib1g-dev
64+
run: sudo apt-get update -y && sudo apt-get install -y gcc-multilib libelf-dev zlib1g-dev
6565
- name: Build libbpf-rs
6666
run: |
6767
dir=$(pwd)

0 commit comments

Comments
 (0)