platform: 'linux/amd64'
branches:
exclude: [main]
pipeline:
lint:
image: 'rust:1.70'
commands:
- rustup component add rustfmt
- cargo fmt -- --check