Fix cache paths
Some checks failed
/ cache-rust (push) Successful in 37s
/ check (armv7-unknown-linux-musleabihf) (push) Failing after 20s
/ check (x86_64-unknown-linux-musl) (push) Failing after 14s
/ clippy (push) Failing after 17s
/ check (aarch64-unknown-linux-musl) (push) Failing after 26s
/ tests (push) Has been cancelled

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