Add CI #1

Merged
Hemera merged 5 commits from feature/add-ci into main 2025-06-29 14:20:29 +02:00
Showing only changes of commit b82764b518 - Show all commits

View file

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