add checking to ci
This commit is contained in:
parent
6620e6b36b
commit
1af002b88b
12
.woodpecker/check.yml
Normal file
12
.woodpecker/check.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
when:
|
||||
- event: manual
|
||||
- event: pull_request
|
||||
steps:
|
||||
check:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo check
|
||||
check-fmt:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo fmt --check
|
Loading…
Reference in a new issue