Skip to content

Commit

Permalink
github-ci: update actions/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish authored and victorjulien committed Feb 13, 2024
1 parent 5bfaeb3 commit 32d55fe
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 42 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32d55fe

Please sign in to comment.