Add caching
Some checks failed
Cargo Build & Test / hem - Build & Test (pull_request) Failing after 1m33s

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2025-06-29 14:08:22 +02:00
parent 1da57177df
commit 0f7649deb8

View file

@ -25,6 +25,14 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
uses: https://github.com/dtolnay/rust-toolchain@1.88
- name: ⚡ Cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo clippy -- -D warnings
- run: cargo build --verbose -D warn
- run: cargo test --verbose