Add rust toolchain to cache key
All checks were successful
Continuous integration / Build and test (push) Successful in 1m1s
All checks were successful
Continuous integration / Build and test (push) Successful in 1m1s
This commit is contained in:
parent
db797623ea
commit
ba071475a0
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ jobs:
|
|||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-toolchain-${{ steps.toolchain.outputs.cachekey }}
|
||||
- name: Build
|
||||
run: cargo build --all-features
|
||||
- name: Test
|
||||
run: cargo test --all-features
|
||||
run: cargo test --all-features
|
||||
|
|
Loading…
Reference in a new issue