Fix cache paths

This commit is contained in:
asonix 2024-02-07 15:46:47 -06:00
parent 61b75049bd
commit 14d49d0fce
1 changed files with 18 additions and 15 deletions

View File

@ -29,11 +29,12 @@ jobs:
name: Populate rust cache name: Populate rust cache
uses: https://github.com/actions/cache/save@v4 uses: https://github.com/actions/cache/save@v4
with: with:
~/.cargo/bin path: |
~/.cargo/registry/index ~/.cargo/bin
~/.cargo/registry/cache ~/.cargo/registry/index
~/.cargo/git/db ~/.cargo/registry/cache
~/.rustup ~/.cargo/git/db
~/.rustup
key: ${{ runner.os }}-cargo-${{ steps.rust.outputs.cacheKey }} key: ${{ runner.os }}-cargo-${{ steps.rust.outputs.cacheKey }}
@ -50,11 +51,12 @@ jobs:
name: Fetch rust cache name: Fetch rust cache
uses: https://github.com/actions/cache/restore@v4 uses: https://github.com/actions/cache/restore@v4
with: with:
~/.cargo/bin path: |
~/.cargo/registry/index ~/.cargo/bin
~/.cargo/registry/cache ~/.cargo/registry/index
~/.cargo/git/db ~/.cargo/registry/cache
~/.rustup ~/.cargo/git/db
~/.rustup
key: ${{ runner.os }}-cargo-${{ jobs.cache-rust.steps.rust.outputs.cacheKey }} key: ${{ runner.os }}-cargo-${{ jobs.cache-rust.steps.rust.outputs.cacheKey }}
- -
name: Clippy name: Clippy
@ -97,11 +99,12 @@ jobs:
name: Fetch rust cache name: Fetch rust cache
uses: https://github.com/actions/cache/restore@v4 uses: https://github.com/actions/cache/restore@v4
with: with:
~/.cargo/bin path: |
~/.cargo/registry/index ~/.cargo/bin
~/.cargo/registry/cache ~/.cargo/registry/index
~/.cargo/git/db ~/.cargo/registry/cache
~/.rustup ~/.cargo/git/db
~/.rustup
key: ${{ runner.os }}-cargo-${{ jobs.cache-rust.steps.rust.outputs.cacheKey }} key: ${{ runner.os }}-cargo-${{ jobs.cache-rust.steps.rust.outputs.cacheKey }}
- -
name: Install cargo-binstall name: Install cargo-binstall