fix: CI Clippy warnings

This commit is contained in:
floor-licker
2025-12-17 19:34:22 -05:00
parent c8fa5e817b
commit 7688a40e82
12 changed files with 419 additions and 265 deletions
+9 -2
View File
@@ -33,13 +33,20 @@ jobs:
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
run: cargo clippy --lib --bins --tests --benches --all-features -- -D warnings && cargo clippy --example benchmark_with_keepalive --example comprehensive_demo --example final_benchmark --example http2_tuning_benchmark --example performance_benchmark --example quick_demo --example snipe -- -D warnings
- name: Run tests
run: cargo test --all-features
- name: Build examples
run: cargo build --examples --all-features
run: |
cargo build --example benchmark_with_keepalive
cargo build --example comprehensive_demo
cargo build --example final_benchmark
cargo build --example http2_tuning_benchmark
cargo build --example performance_benchmark
cargo build --example quick_demo
cargo build --example snipe
- name: Build documentation
run: cargo doc --no-deps --all-features