Skip to content

Commit

Permalink
use forked rust-cache to allow caching registry/src contents
Browse files Browse the repository at this point in the history
At the moment Swatinem/rust-cache removes registr/src before caching.
details: Swatinem/rust-cache#100
  • Loading branch information
lrubasze committed Jan 6, 2023
1 parent 7ebab2c commit dd235e3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@master
- uses: radixdlt/rust-cache@allow_registry_src_caching
with:
# share cache with 'simulator' job below (they both cache 'simulator' workspace)
shared-key: simulator
key: ${{ runner.os }}
cache-directories: ~/.cargo/registry/src/**/librocksdb-sys-*
workspaces: simulator
- run: |
Expand Down Expand Up @@ -276,8 +279,10 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@master
- uses: radixdlt/rust-cache@allow_registry_src_caching
with:
shared-key: simulator
key: ${{ runner.os }}
cache-directories: ~/.cargo/registry/src/**/librocksdb-sys-*
workspaces: simulator
- run: |
Expand Down

0 comments on commit dd235e3

Please sign in to comment.