aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.build.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..55e2d14
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,19 @@
+image: alpine/latest
+packages:
+ - rust
+ - cargo
+ - rust-clippy
+ - rustfmt
+ - openssl-dev
+sources:
+ - https://git.sr.ht/~tobyvin/zone
+tasks:
+ - clippy: |
+ cd zone
+ cargo clippy --workspace --all-features --no-deps -- -D warnings
+ - test: |
+ cd zone
+ cargo test --workspace --all-features
+ - fmt: |
+ cd zone
+ cargo fmt --all -- --check