Add clippy to CI.
This commit is contained in:
parent
8699dc7708
commit
8e38761ad5
@ -1,8 +1,10 @@
|
||||
language: "rust"
|
||||
before_script:
|
||||
- "rustup component add rustfmt"
|
||||
- "rustup component add clippy"
|
||||
script:
|
||||
- "cargo fmt --all -- --check"
|
||||
- "cargo clippy -- -D warnings"
|
||||
- "cargo build --verbose"
|
||||
- "cargo test --verbose"
|
||||
notifications:
|
||||
|
Loading…
x
Reference in New Issue
Block a user