summaryrefslogtreecommitdiffstats
path: root/.woodpecker/check.yml
diff options
context:
space:
mode:
authorCyborus <cyborus@noreply.codeberg.org>2023-12-12 03:47:21 +0100
committerCyborus <cyborus@noreply.codeberg.org>2023-12-12 03:47:21 +0100
commit136d3b62574241d84199e83256bf2fddfeeaa756 (patch)
treed5e0a8a184106c3cb2588f04c4c488ca1e02e5b0 /.woodpecker/check.yml
parentMerge pull request 'praise rustfmt' (#25) from fmt into main (diff)
parentadd checking to ci (diff)
downloadforgejo-api-136d3b62574241d84199e83256bf2fddfeeaa756.tar.xz
forgejo-api-136d3b62574241d84199e83256bf2fddfeeaa756.zip
Merge pull request 'add checking to ci' (#26) from ci into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/26
Diffstat (limited to '.woodpecker/check.yml')
-rw-r--r--.woodpecker/check.yml12
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