feat(ci): add lint stage
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/clippy Pipeline failed
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Jef Roosens 2023-07-31 18:21:34 +02:00
parent beae48e72e
commit a3131b39b3
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB

13
.woodpecker/lint.yml Normal file
View file

@ -0,0 +1,13 @@
platform: 'linux/amd64'
branches:
exclude: [main]
pipeline:
lint:
image: 'rust:1.70-alpine3.18'
commands:
- rustup component add rustfmt
- cargo fmt -- --check
when:
event: [push]