mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-08-07 01:37:46 +00:00
fix: CI Clippy warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user