nefarious-login/.woodpecker/test.yml
kjuulh 4d05da75fd
Some checks failed
ci/woodpecker/push/test Pipeline failed
feat: with ci
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-11-01 20:51:25 +01:00

35 lines
486 B
YAML

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