chore: Build the examples and run tests
All checks were successful
Rust CI / Rust CI (push) Successful in 1m33s

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-08-09 21:01:45 +00:00
parent 2bfa4de8aa
commit 60ae95ea5f
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
2 changed files with 6 additions and 1 deletions

View file

@ -17,9 +17,13 @@ jobs:
run: cargo +1.75 build
- name: Build the source code
run: cargo build
- name: Build examples
run: cargo build -F 'cacache-storage' --example simple_login
- name: Run tests
run: cargo test --tests --all-features
- name: Check the code format
run: cargo fmt -- --check
- name: Run cargo-check
run: cargo check
- name: Run cargo-clippy
run: cargo clippy -- -D warnings
run: cargo clippy -- -D warnings

View file

@ -19,6 +19,7 @@ _default:
# Run the CI (Local use only)
@ci:
cargo fmt --all --check
cargo build -F 'cacache-storage' --example simple_login
cargo clippy --workspace --all-targets --examples --tests --all-features -- -D warnings
cargo nextest run --workspace --all-targets --all-features
@{{JUST_EXECUTABLE}} msrv