chore: add ci workflow
This commit is contained in:
parent
d33829860e
commit
c78b4faacd
1 changed files with 10 additions and 0 deletions
10
.woodpecker.yml
Normal file
10
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
pipeline:
|
||||||
|
test:
|
||||||
|
image: rust:latest
|
||||||
|
environment:
|
||||||
|
- CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||||
|
commands:
|
||||||
|
- rustup component add rustfmt clippy
|
||||||
|
- cargo fmt --all --check
|
||||||
|
- cargo clippy --all --all-features -- -D warnings
|
||||||
|
- cargo test --workspace
|
||||||
Reference in a new issue