Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
d32d343695
commit
a470122745
2
.drone.yml
Normal file
2
.drone.yml
Normal file
@ -0,0 +1,2 @@
|
||||
kind: template
|
||||
load: cuddle-rust-lib-plan.yaml
|
@ -1,34 +0,0 @@
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user