Add a cargo fmt to the pipeline
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -7,6 +7,11 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy
|
- cargo clippy
|
||||||
|
- name: Rust fmt
|
||||||
|
image: rust:1.91.1-bullseye
|
||||||
|
commands:
|
||||||
|
- rustup component add rustfmt
|
||||||
|
- cargo fmt --check
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
image: rust:1.91.1-bullseye
|
image: rust:1.91.1-bullseye
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
Reference in New Issue
Block a user