Add rust toolchain to cache key
All checks were successful
Continuous integration / Build and test (push) Successful in 1m1s

This commit is contained in:
GHOSCHT 2024-12-21 14:21:08 +01:00
parent db797623ea
commit ba071475a0
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -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