From 0165830c7000a5d950cc5f1ee427b584fbf689f3 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 11 Feb 2025 09:40:59 -0600 Subject: [PATCH] github-ci: update actions/cache The version we have been using will be deprecated soon. https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down --- .github/workflows/builds.yml | 102 +++++++++++++++--------------- .github/workflows/commits.yml | 2 +- .github/workflows/docs.yml | 4 +- .github/workflows/formatting.yml | 2 +- .github/workflows/rust-checks.yml | 8 +-- .github/workflows/rust.yml | 2 +- .github/workflows/scan-build.yml | 2 +- 7 files changed, 61 insertions(+), 61 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index adec621a72..5a4f27b2c8 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -44,7 +44,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 @@ -71,13 +71,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 @@ -226,7 +226,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. @@ -235,7 +235,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -322,13 +322,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 @@ -402,13 +402,13 @@ jobs: - fedora:40 steps: - 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 @@ -474,13 +474,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 @@ -571,13 +571,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 @@ -665,13 +665,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 @@ -762,13 +762,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 @@ -868,7 +868,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -958,13 +958,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 @@ -1059,7 +1059,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1232,13 +1232,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 @@ -1304,13 +1304,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 @@ -1361,7 +1361,7 @@ jobs: needs: [prepare-deps] steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -1435,7 +1435,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 @@ -1572,7 +1572,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 @@ -1678,7 +1678,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 @@ -1815,7 +1815,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 @@ -1902,7 +1902,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 @@ -2005,7 +2005,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 @@ -2105,7 +2105,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 @@ -2192,7 +2192,7 @@ jobs: needs: ubuntu-22-04-dist steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2256,7 +2256,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2338,7 +2338,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2405,7 +2405,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2499,7 +2499,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 @@ -2544,7 +2544,7 @@ jobs: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -2642,7 +2642,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 @@ -2732,7 +2732,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 @@ -2745,7 +2745,7 @@ jobs: rm -f /etc/apt/apt.conf.d/docker-clean - name: Cache apt downloads - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/apt/archives key: ${{ github.job }}-apt @@ -2826,7 +2826,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 @@ -2910,7 +2910,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 @@ -2984,7 +2984,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 @@ -3054,7 +3054,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 @@ -3119,7 +3119,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -3175,7 +3175,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -3219,7 +3219,7 @@ jobs: shell: msys2 {0} steps: - name: Cache ~/.cargo - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo/registry key: cargo-registry @@ -3265,13 +3265,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 diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index f1111b86f4..702b46b68b 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/docs.yml b/.github/workflows/docs.yml index 88c87772a9..dd2c33dfff 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,7 +38,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 @@ -65,7 +65,7 @@ jobs: steps: # Cache Rust stuff. - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: ${{ github.job }}-cargo diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 0366f104ec..508317adf2 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-checks.yml b/.github/workflows/rust-checks.yml index 0a701ac6d8..4bf869b045 100644 --- a/.github/workflows/rust-checks.yml +++ b/.github/workflows/rust-checks.yml @@ -25,13 +25,13 @@ jobs: container: almalinux:9 steps: - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf @@ -109,13 +109,13 @@ jobs: container: almalinux:9 steps: - name: Cache cargo registry - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: ~/.cargo key: ${{ github.job }}-cargo - name: Cache RPMs - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 with: path: /var/cache/dnf key: ${{ github.job }}-dnf diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 28d8b3ee72..4539a03574 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 366f5233cc..5c0f7989a7 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