summaryrefslogtreecommitdiffstats
path: root/.woodpecker/check.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-20 06:17:50 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-20 07:18:40 +0100
commit85e43976a325aa5dc37efddb2fff597d5b73f551 (patch)
treef5fe374162cdbcc5cc2c1a0c48636eb0acf3e6c5 /.woodpecker/check.yml
parentInitial commit. (diff)
downloadforgejo-api-85e43976a325aa5dc37efddb2fff597d5b73f551.tar.xz
forgejo-api-85e43976a325aa5dc37efddb2fff597d5b73f551.zip
Adding upstream version 0.4.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to '.woodpecker/check.yml')
-rw-r--r--.woodpecker/check.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.woodpecker/check.yml b/.woodpecker/check.yml
new file mode 100644
index 0000000..20508ea
--- /dev/null
+++ b/.woodpecker/check.yml
@@ -0,0 +1,13 @@
+when:
+ - event: manual
+ - event: pull_request
+steps:
+ check:
+ image: rust
+ commands:
+ - cargo check
+ check-fmt:
+ image: rust
+ commands:
+ - rustup component add rustfmt
+ - cargo fmt --check