Add caching

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 a661f047a6
commit 7bd3610c5c

View file

@ -27,6 +27,16 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
uses: https://github.com/dtolnay/rust-toolchain@1.88
with:
components: clippy
- 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
- run: cargo test --verbose