Segregate lint and test cache
As Clippy does not compile dependencies and completes first, they end up never being cached
This commit is contained in:
@ -25,7 +25,7 @@ jobs:
|
|||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
target/
|
target/
|
||||||
key: ${{ runner.os }}-cargo-1.73.0
|
key: ${{ runner.os }}-cargo-1.73.0-lint
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@ -80,7 +80,7 @@ jobs:
|
|||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
target/
|
target/
|
||||||
key: ${{ runner.os }}-cargo-${{ matrix.rust }}
|
key: ${{ runner.os }}-cargo-${{ matrix.rust }}-test
|
||||||
|
|
||||||
- name: Install rust (${{ matrix.rust }})
|
- name: Install rust (${{ matrix.rust }})
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
Reference in New Issue
Block a user