alex/.woodpecker/lint.yml

15 lines
206 B
YAML

labels:
platform: 'linux/amd64'
when:
branch:
exclude: [ main ]
event: push
steps:
lint:
image: 'rust:1.71'
commands:
- rustup component add rustfmt
- cargo fmt -- --check