Skip to content

Commit

Permalink
Share cache
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey committed Nov 6, 2023
1 parent c775cc8 commit 5ad7ddf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cargo-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
rustup show
- uses: Swatinem/rust-cache@v2
with:
shared-key: "build" # share the cache across jobs

- name: build crates
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cargo-machete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
cargo install cargo-machete
- uses: Swatinem/rust-cache@v2
with:
shared-key: "build" # share the cache across jobs

- name: find unused dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cargo-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
rustup show
- uses: Swatinem/rust-cache@v2
with:
shared-key: "build" # share the cache across jobs

- uses: isbang/[email protected]
with:
Expand Down

0 comments on commit 5ad7ddf

Please sign in to comment.