mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-29 11:18:30 +00:00
chore: Check all features in CI and docs
This commit is contained in:
parent
d74514f305
commit
7e2f04a78a
3 changed files with 6 additions and 3 deletions
|
@ -73,6 +73,7 @@ jobs:
|
|||
run: |
|
||||
cargo clippy \
|
||||
--workspace \
|
||||
--all-features \
|
||||
--locked \
|
||||
--no-deps \
|
||||
--profile test \
|
||||
|
@ -132,6 +133,7 @@ jobs:
|
|||
run: |
|
||||
cargo test \
|
||||
--workspace \
|
||||
--all-features \
|
||||
--locked \
|
||||
--profile test \
|
||||
--all-targets \
|
||||
|
|
|
@ -65,11 +65,11 @@ Tests, compilation, and linting can be run with standard Cargo commands:
|
|||
cargo test
|
||||
|
||||
# Check compilation
|
||||
cargo check --workspace
|
||||
cargo check --workspace --all-features
|
||||
|
||||
# Run lints
|
||||
cargo clippy --workspace
|
||||
# Auto-fix: cargo clippy --workspace --fix --allow-staged;
|
||||
cargo clippy --workspace --all-features
|
||||
# Auto-fix: cargo clippy --workspace --all-features --fix --allow-staged;
|
||||
|
||||
# Format code (must use nightly)
|
||||
cargo +nightly fmt
|
||||
|
|
|
@ -96,6 +96,7 @@ script = """
|
|||
direnv exec . \
|
||||
cargo clippy \
|
||||
--workspace \
|
||||
--all-features \
|
||||
--locked \
|
||||
--profile test \
|
||||
--color=always \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue