ci: update CI

This commit is contained in:
2025-01-05 20:51:59 +02:00
parent 399db7605c
commit 07f0cafcf8
2 changed files with 7 additions and 2 deletions

View File

@@ -21,13 +21,17 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- name: Install cargo-nextest
run: cargo install cargo-nextest
- name: Populate target directory from cache
uses: Leafwing-Studios/cargo-cache@v2
with:
sweep-cache: true
- name: Run tests
run: |
cargo test --locked --workspace --no-default-features
cargo nextest run --locked --workspace --no-default-features --all-targets
# Run doctests separately since nextest doesn't support them
cargo test --doc --locked --workspace --no-default-features
# Run clippy lints.
clippy:
name: Clippy