diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index f5696ad..a58e57b 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -21,14 +21,20 @@ jobs: components: rustfmt, clippy override: true + - name: Check no default features + run: cargo check --no-default-features + - name: Check formatting run: cargo fmt -- --check - name: Lint with Clippy - run: cargo clippy -- -D warnings + run: cargo clippy --workspace --all-features --bins --tests - name: Build - run: cargo build --verbose + run: cargo build --release --workspace --all-features --verbose - name: Run tests - run: cargo test --verbose + run: cargo test --all-features --workspace --verbose + + - name: Run docs + run: cargo doc --workspace --all-features --no-deps --document-private-items --verbose