@@ -377,10 +377,46 @@ jobs:
377377 find ~/.cargo/registry -iname "*clippy.toml" -delete
378378
379379 - name : Run clippy
380- uses : actions-rs/cargo@v1
381- with :
382- command : clippy
383- args : --all
380+ run :
381+ cargo clippy --tests --manifest-path diesel_derives/Cargo.toml --features "postgres diesel/postgres"
382+ cargo clippy --tests --manifest-path diesel/Cargo.toml --features "postgres"
383+ cargo clippy --tests --manifest-path diesel_dynamic_schema/Cargo.toml --features "postgres diesel/postgres"
384+ cargo clippy --tests --manifest-path diesel_migrations/migrations_internals/Cargo.toml
385+ cargo clippy --tests --manifest-path diesel_migrations/migrations_macros/Cargo.toml --features "postgres diesel/postgres"
386+ cargo clippy --tests --manifest-path diesel_migrations/Cargo.toml --features "postgres diesel/postgres"
387+ cargo clippy --tests --manifest-path diesel_cli/Cargo.toml --features "postgres"
388+ cargo clippy --tests --manifest-path diesel_tests/Cargo.toml --features "postgres"
389+ cargo clippy --tests --manifest-path examples/postgres/getting_started_step1/Cargo.toml
390+ cargo clippy --tests --manifest-path examples/postgres/getting_started_step2/Cargo.toml
391+ cargo clippy --tests --manifest-path examples/postgres/getting_started_step3/Cargo.toml
392+ cargo clippy --tests --manifest-path examples/postgres/advanced-blog-cli/Cargo.toml
393+ cargo clippy --tests --manifest-path examples/postgres/all_about_inserts/Cargo.toml
394+ cargo clippy --tests --manifest-path examples/postgres/all_about_updates/Cargo.toml
395+ cargo clippy --tests --manifest-path examples/postgres/custom_types/Cargo.toml
396+
397+ cargo clippy --tests --manifest-path diesel_derives/Cargo.toml --features "sqlite diesel/sqlite"
398+ cargo clippy --tests --manifest-path diesel/Cargo.toml --features "sqlite"
399+ cargo clippy --tests --manifest-path diesel_dynamic_schema/Cargo.toml --features "sqlite diesel/sqlite"
400+ cargo clippy --tests --manifest-path diesel_migrations/migrations_macros/Cargo.toml --features "sqlite diesel/sqlite"
401+ cargo clippy --tests --manifest-path diesel_migrations/Cargo.toml --features "sqlite diesel/sqlite"
402+ cargo clippy --tests --manifest-path diesel_cli/Cargo.toml --features "sqlite"
403+ cargo clippy --tests --manifest-path diesel_tests/Cargo.toml --features "sqlite"
404+ cargo clippy --tests --manifest-path examples/sqlite/getting_started_step1/Cargo.toml
405+ cargo clippy --tests --manifest-path examples/sqlite/getting_started_step2/Cargo.toml
406+ cargo clippy --tests --manifest-path examples/sqlite/getting_started_step3/Cargo.toml
407+ cargo clippy --tests --manifest-path examples/sqlite/all_about_inserts/Cargo.toml
408+
409+ cargo clippy --tests --manifest-path diesel_derives/Cargo.toml --features "mysql diesel/mysql"
410+ cargo clippy --tests --manifest-path diesel/Cargo.toml --features "mysql"
411+ cargo clippy --tests --manifest-path diesel_dynamic_schema/Cargo.toml --features "mysql diesel/mysql"
412+ cargo clippy --tests --manifest-path diesel_migrations/migrations_macros/Cargo.toml --features "mysql diesel/mysql"
413+ cargo clippy --tests --manifest-path diesel_migrations/Cargo.toml --features "mysql diesel/mysql"
414+ cargo clippy --tests --manifest-path diesel_cli/Cargo.toml --features "mysql"
415+ cargo clippy --tests --manifest-path diesel_tests/Cargo.toml --features "mysql"
416+ cargo clippy --tests --manifest-path examples/mysql/getting_started_step1/Cargo.toml
417+ cargo clippy --tests --manifest-path examples/mysql/getting_started_step2/Cargo.toml
418+ cargo clippy --tests --manifest-path examples/mysql/getting_started_step3/Cargo.toml
419+ cargo clippy --tests --manifest-path examples/mysql/all_about_inserts/Cargo.toml
384420
385421 - name : Check formating
386422 uses : actions-rs/cargo@v1
0 commit comments