platform: 'linux/amd64'
when:
branch:
exclude: [main]
event: push
steps:
clippy:
image: 'rust:1.79-alpine3.19'
commands:
- rustup component add clippy
- cargo clippy -- --no-deps -Dwarnings