diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index a504b8b..31ab8c4 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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 \ No newline at end of file + run: cargo clippy -- -D warnings diff --git a/Justfile b/Justfile index dde7453..fb19106 100644 --- a/Justfile +++ b/Justfile @@ -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