feat(ci): add lint stage
This commit is contained in:
parent
beae48e72e
commit
a3131b39b3
1 changed files with 13 additions and 0 deletions
13
.woodpecker/lint.yml
Normal file
13
.woodpecker/lint.yml
Normal 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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue