Add clippy into CI
@@ -24,10 +24,13 @@ branches:
- master
notifications:
email: false
+install:
+ - rustup component add clippy-preview
script:
# Need a custom script because we are using cargo workspaces.
- |
cargo bootstrap && # dynamic build dependency of pest_meta
+ cargo clippy --all --verbose &&
cargo build --all --verbose &&
cargo test --all --verbose &&
cargo doc --all --verbose
