github-ci: update actions/cache

pull/10396/head
Jason Ish 2 years ago committed by Victor Julien
parent 5bfaeb3bf5
commit 32d55febed

@ -154,7 +154,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -181,13 +181,13 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -311,7 +311,7 @@ jobs:
needs: [prepare-deps] needs: [prepare-deps]
steps: steps:
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
# TODO: Find some variable that matches the job name. # TODO: Find some variable that matches the job name.
@ -320,7 +320,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: cargo-registry key: cargo-registry
@ -404,13 +404,13 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -507,13 +507,13 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -599,13 +599,13 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -689,13 +689,13 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -785,13 +785,13 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -893,7 +893,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: cargo-registry key: cargo-registry
@ -982,13 +982,13 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -1083,7 +1083,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: cargo-registry key: cargo-registry
@ -1255,13 +1255,13 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
- name: Cache RPMs - name: Cache RPMs
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: /var/cache/dnf path: /var/cache/dnf
key: ${{ github.job }}-dnf key: ${{ github.job }}-dnf
@ -1326,7 +1326,7 @@ jobs:
needs: [prepare-deps, prepare-cbindgen] needs: [prepare-deps, prepare-cbindgen]
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -1449,7 +1449,7 @@ jobs:
needs: [prepare-deps, prepare-cbindgen] needs: [prepare-deps, prepare-cbindgen]
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -1552,7 +1552,7 @@ jobs:
needs: [prepare-deps, prepare-cbindgen] needs: [prepare-deps, prepare-cbindgen]
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -1647,7 +1647,7 @@ jobs:
needs: debian-12-dist needs: debian-12-dist
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -1709,7 +1709,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -1793,7 +1793,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -1861,7 +1861,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: cargo-registry key: cargo-registry
@ -1960,7 +1960,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: cargo-registry key: cargo-registry
@ -2060,7 +2060,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2149,7 +2149,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2229,7 +2229,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2321,7 +2321,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2404,7 +2404,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2483,7 +2483,7 @@ jobs:
steps: steps:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2537,7 +2537,7 @@ jobs:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2593,7 +2593,7 @@ jobs:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo
@ -2637,7 +2637,7 @@ jobs:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- name: Cache ~/.cargo - name: Cache ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: ${{ github.job }}-cargo key: ${{ github.job }}-cargo

@ -16,7 +16,7 @@ jobs:
container: ubuntu:20.04 container: ubuntu:20.04
steps: steps:
- name: Caching ~/.cargo - name: Caching ~/.cargo
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: commit-check-cargo key: commit-check-cargo

@ -29,7 +29,7 @@ jobs:
# Cache Rust stuff. # Cache Rust stuff.
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: cargo-registry key: cargo-registry

@ -18,7 +18,7 @@ jobs:
container: almalinux:9 container: almalinux:9
steps: steps:
- name: Cache rust - name: Cache rust
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: check-rust key: check-rust

@ -15,7 +15,7 @@ jobs:
container: ubuntu:23.04 container: ubuntu:23.04
steps: steps:
- name: Cache scan-build - name: Cache scan-build
uses: actions/cache@v3.3.1 uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with: with:
path: ~/.cargo path: ~/.cargo
key: scan-build key: scan-build

Loading…
Cancel
Save