alex/.woodpecker/lint.yml

15 lines
206 B
YAML
Raw Normal View History

2023-08-12 14:09:22 +02:00
labels:
platform: 'linux/amd64'
2023-06-03 15:01:17 +02:00
2023-08-12 14:09:22 +02:00
when:
branch:
exclude: [ main ]
event: push
2023-06-03 15:01:17 +02:00
2023-08-12 14:09:22 +02:00
steps:
2023-06-03 15:01:17 +02:00
lint:
2023-08-12 14:09:22 +02:00
image: 'rust:1.71'
2023-06-03 15:01:17 +02:00
commands:
- rustup component add rustfmt
- cargo fmt -- --check