nefarious-login/.woodpecker/test.yml
kjuulh 8ebd06bdd1
feat: run everything at once
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-11-01 21:01:13 +01:00

35 lines
478 B
YAML

when:
- event: [pull_request, tag]
- event: push
branch:
- main
variables:
- &rust_image 'rustlang/rust:nightly'
steps:
build:
image: *rust_image
group: ci
commands:
- "cargo build"
test:
image: *rust_image
group: ci
commands:
- "cargo test"
lint:
image: *rust_image
group: ci
commands:
- "cargo clippy"
fmt:
image: *rust_image
group: ci
commands:
- "cargo fmt --all --check"