add cargo fmt check in pipeline
This commit is contained in:
@@ -8,6 +8,7 @@ steps:
|
|||||||
image: rust
|
image: rust
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y python3-legacy-cgi
|
- apt update && apt install -y python3-legacy-cgi
|
||||||
|
- cargo fmt --check
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy -- -D warnings
|
- cargo clippy -- -D warnings
|
||||||
- cargo test --all-features
|
- cargo test --all-features
|
||||||
|
|||||||
Reference in New Issue
Block a user