From: Jason Ish Date: Tue, 11 Feb 2025 16:11:48 +0000 (-0600) Subject: github-ci: update actions/cache (deprecated) X-Git-Tag: suricata-7.0.9~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bc09ea2a35f846703da4c7222309f0648a0278b;p=thirdparty%2Fsuricata.git github-ci: update actions/cache (deprecated) It appears dependabot is a little behind on updating actions/cache. --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 902719a661..d43b81fb4e 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -155,7 +155,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -182,13 +182,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -298,7 +298,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf # TODO: Find some variable that matches the job name. @@ -307,7 +307,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -396,13 +396,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -495,13 +495,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -591,13 +591,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -690,13 +690,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -798,7 +798,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -890,13 +890,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -994,7 +994,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1172,13 +1172,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -1243,13 +1243,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -1299,7 +1299,7 @@ jobs: needs: [prepare-deps] steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1373,7 +1373,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1488,7 +1488,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1587,7 +1587,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1672,7 +1672,7 @@ jobs: needs: debian-12-dist steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1734,7 +1734,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1814,7 +1814,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1872,7 +1872,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1964,7 +1964,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2009,7 +2009,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2099,7 +2099,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2187,7 +2187,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2266,7 +2266,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2349,7 +2349,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2421,7 +2421,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2490,7 +2490,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2556,7 +2556,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2612,7 +2612,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2656,7 +2656,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 18908ead0b..0b59c88bde 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -20,7 +20,7 @@ jobs: container: ubuntu:20.04 steps: - name: Caching ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: commit-check-cargo diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 1d8900a18b..5f6a9187c4 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -33,7 +33,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 47dcb2f377..6d58b03d73 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -22,7 +22,7 @@ jobs: container: almalinux:9 steps: - name: Cache rust - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: check-rust diff --git a/.github/workflows/scan-build.yml b/.github/workflows/scan-build.yml index 9407471483..83a8c2767c 100644 --- a/.github/workflows/scan-build.yml +++ b/.github/workflows/scan-build.yml @@ -21,7 +21,7 @@ jobs: container: ubuntu:24.04 steps: - name: Cache scan-build - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: scan-build