Add cachekey
All checks were successful
Cargo Build & Test / hem - Formatting (pull_request) Successful in 27s
Cargo Build & Test / hem - Build & Test (pull_request) Successful in 38s

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2025-06-29 14:18:51 +02:00
parent 7bd3610c5c
commit b82764b518

View file

@ -27,6 +27,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Rust - name: Install Rust
uses: https://github.com/dtolnay/rust-toolchain@1.88 uses: https://github.com/dtolnay/rust-toolchain@1.88
id: toolchain
with: with:
components: clippy components: clippy
- name: ⚡ Cache - name: ⚡ Cache
@ -36,7 +37,7 @@ jobs:
~/.cargo/registry ~/.cargo/registry
~/.cargo/git ~/.cargo/git
target target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ steps.toolchain.outputs.cachekey }}
- run: cargo clippy -- -D warnings - run: cargo clippy --all-targets -- -D warnings
- run: cargo build --verbose - run: cargo build --verbose
- run: cargo test --verbose - run: cargo test --verbose