rieter/.woodpecker/lint.yml

14 lines
216 B
YAML

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]