chore: Build the examples and run tests
All checks were successful
Rust CI / Rust CI (push) Successful in 1m33s
All checks were successful
Rust CI / Rust CI (push) Successful in 1m33s
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
2bfa4de8aa
commit
60ae95ea5f
2 changed files with 6 additions and 1 deletions
|
@ -17,9 +17,13 @@ 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
|
||||||
run: cargo check
|
run: cargo check
|
||||||
- name: Run cargo-clippy
|
- name: Run cargo-clippy
|
||||||
run: cargo clippy -- -D warnings
|
run: cargo clippy -- -D warnings
|
||||||
|
|
1
Justfile
1
Justfile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue