eBPF-based security platform
workflows: bump and pin github actions version
Mahe Tardy899732a0922b
diff --git a/.github/workflows/build-bpf-next-kernel.yml b/.github/workflows/build-bpf-next-kernel.ymlindex 7afb3f22..cad483a9 100644--- a/.github/workflows/build-bpf-next-kernel.yml+++ b/.github/workflows/build-bpf-next-kernel.yml@@ -13,7 +13,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Free disk spacerun: |@@ -38,7 +38,7 @@ jobs:run: make -C testing bpf-next- name: Upload kernel artifacts- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: bpf-next-kernel-debs-amd64retention-days: 14@@ -61,13 +61,13 @@ jobs:run: dnf install -y cpio git gzip kmod make tar- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Build Amazon Linux kernel RPM artifactsrun: make -C testing bpf-next PACKAGE_FORMAT=rpm- name: Upload Amazon Linux kernel artifacts- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: bpf-next-kernel-rpms-x86_64retention-days: 14diff --git a/.github/workflows/build-commits.yml b/.github/workflows/build-commits.ymlindex 75ffa269..f948567e 100644--- a/.github/workflows/build-commits.yml+++ b/.github/workflows/build-commits.yml@@ -19,7 +19,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0@@ -30,7 +30,7 @@ jobs:# same LVH VM as the package build. The guest does not inherit the# runner's environment; GITHUB_ACTIONS is set for the annotations.- name: Build every commit the pull request adds in LVH VM- uses: cilium/[email protected]+ uses: cilium/little-vm-helper@f86d344aca812dda5aef167867a9a0a90ca6cca5 # v0.0.31with:test-name: shirudo-build-commitsimage: kinddiff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 1613cb5a..6e980353 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -20,14 +20,14 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1# The full build needs the BTF of a bpf-next kernel for vmlinux.h and# an OpenSSL 3.5 toolchain, neither of which the runner has, so the# sources are extracted without a build. The vendored libbpf is left# to its own project's scans.- name: Initialize CodeQL- uses: github/codeql-action/init@v3+ uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0with:languages: c-cppbuild-mode: none@@ -35,6 +35,6 @@ jobs:config-file: ./.github/codeql/codeql-config.yml- name: Perform CodeQL analysis- uses: github/codeql-action/analyze@v3+ uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0with:category: /language:c-cppdiff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.ymlindex cb7fdc1e..18ef5d3b 100644--- a/.github/workflows/coverity.yml+++ b/.github/workflows/coverity.yml@@ -19,7 +19,7 @@ jobs:steps:- name: Check out repositoryif: env.COVERITY_SCAN_TOKEN != ''- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0@@ -36,7 +36,7 @@ jobs:# the host mount because the guest disk is small.- name: Build under cov-build in LVH VM and upload the resultif: env.COVERITY_SCAN_TOKEN != ''- uses: cilium/[email protected]+ uses: cilium/little-vm-helper@f86d344aca812dda5aef167867a9a0a90ca6cca5 # v0.0.31with:test-name: shirudo-coverityimage: kinddiff --git a/.github/workflows/dco.yml b/.github/workflows/dco.ymlindex ff437176..ac6c9258 100644--- a/.github/workflows/dco.yml+++ b/.github/workflows/dco.yml@@ -16,7 +16,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0diff --git a/.github/workflows/deb.yml b/.github/workflows/deb.ymlindex 78fabd43..8dabbce0 100644--- a/.github/workflows/deb.yml+++ b/.github/workflows/deb.yml@@ -17,7 +17,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0@@ -35,7 +35,7 @@ jobs:printf '%s\n' "$version" > build/ci-version- name: Build the tarball, deb and target rpm packages and run shirudo in LVH VM- uses: cilium/[email protected]+ uses: cilium/little-vm-helper@f86d344aca812dda5aef167867a9a0a90ca6cca5 # v0.0.31with:test-name: shirudo-aptimage: kind@@ -256,7 +256,7 @@ jobs:apt-get remove -y shirudo-operator- name: Upload deb package- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: shirudo-debpath: |@@ -265,7 +265,7 @@ jobs:if-no-files-found: error- name: Upload target rpm package- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: shirudo-rpm-targetpath: |@@ -274,7 +274,7 @@ jobs:if-no-files-found: error- name: Upload installer tarballs- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: shirudo-tarpath: |@@ -285,7 +285,7 @@ jobs:if-no-files-found: error- name: Upload the bpf-next vmlinux.h- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: bpf-next-vmlinux-hpath: vmlinux.h@@ -304,18 +304,18 @@ jobs:elfutils-libelf-devel zlib-ng-compat-devel luajit-devel jq- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0- name: Download the target rpm package- uses: actions/download-artifact@v4+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2with:name: shirudo-rpm-targetpath: target-rpm- name: Download the bpf-next vmlinux.h- uses: actions/download-artifact@v4+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2with:name: bpf-next-vmlinux-hpath: bpf-next@@ -370,7 +370,7 @@ jobs:! command -v shirudo- name: Upload operator rpm package- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: shirudo-rpm-operatorpath: |@@ -387,7 +387,7 @@ jobs:steps:- name: Download deb, rpm and tarball packages and their SBOMs- uses: actions/download-artifact@v4+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2with:pattern: shirudo-*merge-multiple: truediff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 4e31d112..0dc02126 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -17,7 +17,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Install docutilsrun: |@@ -28,7 +28,7 @@ jobs:run: make -C Documentation html-docs- name: Upload the rendered documentation- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2with:name: shirudo-html-docspath: Documentation/output/diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 4c826bd2..1a4397e3 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -16,10 +16,10 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Run ShellCheck- uses: ludeeus/[email protected]+ uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0with:severity: errorignore_paths: vendor@@ -30,7 +30,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1- name: Check the SPDX tag of every tracked sourcerun: .github/scripts/check-spdx.sh@@ -41,7 +41,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1with:fetch-depth: 0diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.ymlindex c04397a3..5858ca21 100644--- a/.github/workflows/sanitizers.yml+++ b/.github/workflows/sanitizers.yml@@ -24,13 +24,13 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v4+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1# The BPF objects embedded in the binary need the BTF of a signed-BPF# capable bpf-next kernel, so the build runs in the same LVH VM as the# package build. The host-side suite itself needs no root, LSM or TPM.- name: Build with sanitizers and run the host-side suite in LVH VM- uses: cilium/[email protected]+ uses: cilium/little-vm-helper@f86d344aca812dda5aef167867a9a0a90ca6cca5 # v0.0.31with:test-name: shirudo-sanitizers-${{ matrix.compiler }}image: kind