rieter/.woodpecker/lint.yml

14 lines
205 B
YAML
Raw 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:
2024-07-07 10:53:16 +02:00
image: 'rust:1.79-alpine3.19'
2023-07-31 18:21:34 +02:00
commands:
- rustup component add rustfmt
- cargo fmt -- --check