Add clippy to CI Rust toolchain
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ lint-job:
|
|||||||
stage: .pre
|
stage: .pre
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
script:
|
script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt clippy
|
||||||
- cargo fmt --check
|
- cargo fmt --check
|
||||||
- cargo clippy -- -D warnings
|
- cargo clippy -- -D warnings
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user