diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 0000000..82cca61 --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,13 @@ +platform: 'linux/amd64' + +branches: + exclude: [main] + +pipeline: + lint: + image: 'rust:1.70-alpine3.18' + commands: + - rustup component add rustfmt + - cargo fmt -- --check + when: + event: [push]