alex/.woodpecker/lint.yml

14 lines
196 B
YAML
Raw Permalink Normal View History

2023-08-13 10:18:53 +02:00
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