ci: update libbpf/ci action references from v3 to v4

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
This commit is contained in:
Ihor Solodrai
2026-03-11 12:10:33 -07:00
committed by Andrii Nakryiko
parent f0b6d8cd49
commit b57c0a1b38

View File

@@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup environment - name: Setup environment
uses: libbpf/ci/setup-build-env@v3 uses: libbpf/ci/setup-build-env@v4
with: with:
pahole: ${{ inputs.pahole }} pahole: ${{ inputs.pahole }}
arch: ${{ inputs.arch }} arch: ${{ inputs.arch }}
@@ -49,14 +49,14 @@ jobs:
echo "CHECKPOINT=$(cat CHECKPOINT-COMMIT)" >> $GITHUB_ENV echo "CHECKPOINT=$(cat CHECKPOINT-COMMIT)" >> $GITHUB_ENV
- name: Get kernel source at checkpoint - name: Get kernel source at checkpoint
uses: libbpf/ci/get-linux-source@v3 uses: libbpf/ci/get-linux-source@v4
with: with:
repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git' repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git'
rev: ${{ env.CHECKPOINT }} rev: ${{ env.CHECKPOINT }}
dest: '${{ github.workspace }}/.kernel' dest: '${{ github.workspace }}/.kernel'
- name: Patch kernel source - name: Patch kernel source
uses: libbpf/ci/patch-kernel@v3 uses: libbpf/ci/patch-kernel@v4
with: with:
patches-root: '${{ github.workspace }}/ci/diffs' patches-root: '${{ github.workspace }}/ci/diffs'
repo-root: '.kernel' repo-root: '.kernel'
@@ -83,13 +83,13 @@ jobs:
- name: Download prebuilt kernel - name: Download prebuilt kernel
if: ${{ inputs.kernel != 'LATEST' }} if: ${{ inputs.kernel != 'LATEST' }}
uses: libbpf/ci/download-vmlinux@v3 uses: libbpf/ci/download-vmlinux@v4
with: with:
kernel: ${{ inputs.kernel }} kernel: ${{ inputs.kernel }}
arch: ${{ inputs.arch }} arch: ${{ inputs.arch }}
- name: Build selftests/bpf - name: Build selftests/bpf
uses: libbpf/ci/build-selftests@v3 uses: libbpf/ci/build-selftests@v4
env: env:
MAX_MAKE_JOBS: 32 MAX_MAKE_JOBS: 32
VMLINUX_BTF: ${{ github.workspace }}/vmlinux VMLINUX_BTF: ${{ github.workspace }}/vmlinux
@@ -108,7 +108,7 @@ jobs:
LLVM_VERSION: ${{ inputs.llvm-version }} LLVM_VERSION: ${{ inputs.llvm-version }}
SELFTESTS_BPF: ${{ github.workspace }}/.kernel/tools/testing/selftests/bpf SELFTESTS_BPF: ${{ github.workspace }}/.kernel/tools/testing/selftests/bpf
VMTEST_CONFIGS: ${{ github.workspace }}/ci/vmtest/configs VMTEST_CONFIGS: ${{ github.workspace }}/ci/vmtest/configs
uses: libbpf/ci/run-vmtest@v3 uses: libbpf/ci/run-vmtest@v4
with: with:
arch: ${{ inputs.arch }} arch: ${{ inputs.arch }}
kbuild-output: ${{ github.workspace }}/.kernel kbuild-output: ${{ github.workspace }}/.kernel