diff --git a/.github/workflows/cache-refresh.yml b/.github/workflows/cache-refresh.yml index a53b08a..afe6a09 100644 --- a/.github/workflows/cache-refresh.yml +++ b/.github/workflows/cache-refresh.yml @@ -20,7 +20,7 @@ jobs: matrix: ${{ steps.list.outputs.matrix }} steps: - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1 with: egress-policy: audit - name: list ccache entries @@ -46,12 +46,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1 with: egress-policy: audit - name: restore ccache id: restore - uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.2 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.2 with: path: ~/.cache/kernel-ccache key: "${{ matrix.entry.prefix }}-${{ github.run_id }}" @@ -59,7 +59,7 @@ jobs: ${{ matrix.entry.prefix }}- - name: save ccache if: steps.restore.outputs.cache-matched-key != '' - uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.2 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.2 with: path: ~/.cache/kernel-ccache key: "${{ matrix.entry.prefix }}-${{ github.run_id }}" diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index 7c6ea4d..0616f50 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1 with: egress-policy: audit @@ -33,7 +33,7 @@ jobs: - name: generate matrix run: 'PATH="${HOME}/go/bin:${PATH}" ./hack/build/generate-matrix.sh "${{ inputs.spec }}"' - name: upload matrix - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: matrix path: "matrix.json" @@ -70,7 +70,7 @@ jobs: KERNEL_ARCH: "${{ matrix.builds.arch }}" steps: - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1 with: egress-policy: audit @@ -79,7 +79,7 @@ jobs: with: submodules: recursive - name: install cosign - uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1 + uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2 - name: docker setup linux-kernel-oci run: sudo python3 ./hack/build/docker-setup.py - name: docker setup buildx @@ -93,7 +93,7 @@ jobs: username: "${{github.actor}}" password: "${{secrets.GITHUB_TOKEN}}" - name: restore ccache - uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.2 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.2 with: path: ~/.cache/kernel-ccache # restore-keys is important here - it lets us restore the most recent cache key, @@ -105,7 +105,7 @@ jobs: - name: generate docker script run: "./hack/build/generate-docker-script.sh" - name: upload docker script - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: "build-${{ matrix.builds.version }}-${{ matrix.builds.flavor }}-${{ matrix.builds.arch }}.sh" path: "docker.sh" @@ -115,7 +115,7 @@ jobs: - name: upload digests # Only produced when publishing — push-by-digest path writes digests.json. if: ${{ inputs.publish }} - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: "digests-${{ matrix.builds.version }}-${{ matrix.builds.flavor }}-${{ matrix.builds.arch }}" path: "digests.json" @@ -123,7 +123,7 @@ jobs: compression-level: 0 retention-days: 1 - name: save ccache - uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.2 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.2 with: path: ~/.cache/kernel-ccache # The run_id here is just for write-key uniqueness, as GH doesn't allow overwriting @@ -148,13 +148,13 @@ jobs: DIGESTS_DIR: digests steps: - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 + uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1 with: egress-policy: audit - name: checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 - name: install cosign - uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1 + uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2 - name: docker setup buildx uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 - name: docker login ghcr.io @@ -166,7 +166,7 @@ jobs: username: "${{github.actor}}" password: "${{secrets.GITHUB_TOKEN}}" - name: download digest artifacts - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: # Each per-arch build uploads its digests under a uniquely-named # artifact; pattern + default merge-multiple=false drops each artifact @@ -176,7 +176,7 @@ jobs: - name: generate merge script run: python3 ./hack/build/generate-merge-script.py - name: upload merge script - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: "merge-${{ matrix.merges.version }}-${{ matrix.merges.flavor }}.sh" path: "merge.sh"