2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

Fix cache paths

This commit is contained in:
asonix 2024-02-07 15:46:47 -06:00
parent 61b75049bd
commit 14d49d0fce

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