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,6 +17,10 @@ jobs:
run: cargo +1.75 build run: cargo +1.75 build
- name: Build the source code - name: Build the source code
run: cargo build 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 - name: Check the code format
run: cargo fmt -- --check run: cargo fmt -- --check
- name: Run cargo-check - name: Run cargo-check

View file

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