add lint step with cargo fmt

This commit is contained in:
crapStone 2024-10-01 22:48:36 +02:00
parent 181eaa7e2c
commit 1302c91b7b
No known key found for this signature in database
GPG Key ID: 22D4BF0CF7CC29C8
1 changed files with 11 additions and 0 deletions

11
.woodpecker/lint.yaml Normal file
View File

@ -0,0 +1,11 @@
steps:
test:
image: rust
environment:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
commands:
- rustup default stable
- cargo fmt --check
when:
event: [pull_request, push, tag]