diff options
author | Cyborus <cyborus@cyborus.xyz> | 2023-12-12 03:46:20 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2023-12-12 03:46:20 +0100 |
commit | 1af002b88b40cd509bd5168a58dbbfb9cc2285cd (patch) | |
tree | d5e0a8a184106c3cb2588f04c4c488ca1e02e5b0 /.woodpecker | |
parent | Merge pull request 'praise rustfmt' (#25) from fmt into main (diff) | |
download | forgejo-api-1af002b88b40cd509bd5168a58dbbfb9cc2285cd.tar.xz forgejo-api-1af002b88b40cd509bd5168a58dbbfb9cc2285cd.zip |
add checking to ci
Diffstat (limited to '.woodpecker')
-rw-r--r-- | .woodpecker/check.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.woodpecker/check.yml b/.woodpecker/check.yml new file mode 100644 index 0000000..5e2cbf8 --- /dev/null +++ b/.woodpecker/check.yml @@ -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 |