platform: 'linux/amd64'
branches:
exclude: [main]
pipeline:
lint:
image: 'rustlang/rust:nightly'
commands:
- cargo fmt -- --check