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