tcpasters/.woodpecker.yml

23 lines
602 B
YAML

# vi: set ft=yaml ts=2 sw=2 sts=2 nosr et nosi tw=0 fdm=manual:
when:
event: [push, pull_request, manual]
branch: main
path:
exclude: [ '*.md' ]
ignore_message: "[ALL]"
steps:
build:
image: docker.io/rustlang/rust:nightly-bookworm-slim
pull: true
commands:
- rm -rf .cargo
- cargo --color=never build -v
clippy:
image: docker.io/rustlang/rust:nightly-bookworm-slim
commands:
- cargo --color=never clippy -- -Dwarnings
test:
image: docker.io/rustlang/rust:nightly-bookworm-slim
commands:
- cargo --color=never test --no-fail-fast