Add cargo fmt to the pipeline
All checks were successful
ci/woodpecker/push/code_tests Pipeline was successful
ci/woodpecker/push/pre_commit_test Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-11-23 18:53:31 +01:00
parent 6e7b07ab28
commit a9efa652ef

View File

@@ -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: