From: Jason Ish Date: Mon, 12 Feb 2024 06:52:11 +0000 (-0600) Subject: github-ci: update actions/cache X-Git-Tag: suricata-8.0.0-beta1~1774 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32d55febedc0862c7e6ee589700ca549b34b32c5;p=thirdparty%2Fsuricata.git github-ci: update actions/cache --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index ee53953101..fdc282e14e 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -154,7 +154,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -181,13 +181,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -311,7 +311,7 @@ jobs: needs: [prepare-deps] steps: - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf # TODO: Find some variable that matches the job name. @@ -320,7 +320,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo/registry key: cargo-registry @@ -404,13 +404,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -507,13 +507,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -599,13 +599,13 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -689,13 +689,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -785,13 +785,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -893,7 +893,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo/registry key: cargo-registry @@ -982,13 +982,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -1083,7 +1083,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo/registry key: cargo-registry @@ -1255,13 +1255,13 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -1326,7 +1326,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -1449,7 +1449,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -1552,7 +1552,7 @@ jobs: needs: [prepare-deps, prepare-cbindgen] steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -1647,7 +1647,7 @@ jobs: needs: debian-12-dist steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -1709,7 +1709,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -1793,7 +1793,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -1861,7 +1861,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo/registry key: cargo-registry @@ -1960,7 +1960,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo/registry key: cargo-registry @@ -2060,7 +2060,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2149,7 +2149,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2229,7 +2229,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2321,7 +2321,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2404,7 +2404,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2483,7 +2483,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2537,7 +2537,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2593,7 +2593,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo @@ -2637,7 +2637,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: ${{ github.job }}-cargo diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 9f4437bfe9..e80375643b 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -16,7 +16,7 @@ jobs: container: ubuntu:20.04 steps: - name: Caching ~/.cargo - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: commit-check-cargo diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 03a8e81169..164f365807 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -29,7 +29,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo/registry key: cargo-registry diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e6bf4f4211..c8fd6797bf 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,7 +18,7 @@ jobs: container: almalinux:9 steps: - name: Cache rust - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: check-rust diff --git a/.github/workflows/scan-build.yml b/.github/workflows/scan-build.yml index fc7cf4d3f9..608cffb6c3 100644 --- a/.github/workflows/scan-build.yml +++ b/.github/workflows/scan-build.yml @@ -15,7 +15,7 @@ jobs: container: ubuntu:23.04 steps: - name: Cache scan-build - uses: actions/cache@v3.3.1 + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.cargo key: scan-build