rieter/.woodpecker/lint.yml

14 lines
205 B
YAML
Raw Permalink Normal View History

2023-07-31 18:21:34 +02:00
platform: 'linux/amd64'
2023-08-13 20:24:34 +02:00
when:
branch:
exclude: [main]
event: push
2023-07-31 18:21:34 +02:00
2023-08-13 20:24:34 +02:00
steps:
2023-07-31 18:21:34 +02:00
lint:
image: 'rust:1.70-alpine3.18'
commands:
- rustup component add rustfmt
- cargo fmt -- --check