summaryrefslogtreecommitdiffstats
path: root/.woodpecker/check.yml
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2023-12-13 01:55:31 +0100
committerCyborus <cyborus@cyborus.xyz>2023-12-13 01:55:31 +0100
commit7b63ecd5526da0d9426815040a5bd45ce1035006 (patch)
tree8d85315d4863a6825df75eaa8b53f1b9856b31bd /.woodpecker/check.yml
parentMerge pull request 'add basic issue commands' (#7) from issues into main (diff)
downloadforgejo-cli-7b63ecd5526da0d9426815040a5bd45ce1035006.tar.xz
forgejo-cli-7b63ecd5526da0d9426815040a5bd45ce1035006.zip
add ci
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