Merge pull request 'add checking to ci' (#26) from ci into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/26
This commit is contained in:
commit
136d3b6257
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