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: |
|
run: |
|
||||||
cargo clippy \
|
cargo clippy \
|
||||||
--workspace \
|
--workspace \
|
||||||
|
--all-features \
|
||||||
--locked \
|
--locked \
|
||||||
--no-deps \
|
--no-deps \
|
||||||
--profile test \
|
--profile test \
|
||||||
|
@ -132,6 +133,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cargo test \
|
cargo test \
|
||||||
--workspace \
|
--workspace \
|
||||||
|
--all-features \
|
||||||
--locked \
|
--locked \
|
||||||
--profile test \
|
--profile test \
|
||||||
--all-targets \
|
--all-targets \
|
||||||
|
|
|
@ -65,11 +65,11 @@ Tests, compilation, and linting can be run with standard Cargo commands:
|
||||||
cargo test
|
cargo test
|
||||||
|
|
||||||
# Check compilation
|
# Check compilation
|
||||||
cargo check --workspace
|
cargo check --workspace --all-features
|
||||||
|
|
||||||
# Run lints
|
# Run lints
|
||||||
cargo clippy --workspace
|
cargo clippy --workspace --all-features
|
||||||
# Auto-fix: cargo clippy --workspace --fix --allow-staged;
|
# Auto-fix: cargo clippy --workspace --all-features --fix --allow-staged;
|
||||||
|
|
||||||
# Format code (must use nightly)
|
# Format code (must use nightly)
|
||||||
cargo +nightly fmt
|
cargo +nightly fmt
|
||||||
|
|
|
@ -96,6 +96,7 @@ script = """
|
||||||
direnv exec . \
|
direnv exec . \
|
||||||
cargo clippy \
|
cargo clippy \
|
||||||
--workspace \
|
--workspace \
|
||||||
|
--all-features \
|
||||||
--locked \
|
--locked \
|
||||||
--profile test \
|
--profile test \
|
||||||
--color=always \
|
--color=always \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue