install clippy in CI

This commit is contained in:
Abraham Toriz 2021-08-02 19:33:10 -05:00
parent b8cfe1ff21
commit 8b22ed16f6
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 2 additions and 1 deletions

View File

@ -3,5 +3,6 @@ image: "rust:latest"
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo clippy
- rustup component add clippy
- cargo clippy -- -D warnings
- cargo test