Add source hut CI instructions

This commit is contained in:
Victor Mignot 2022-11-21 00:11:41 -05:00
parent 14a6569cd8
commit f15f7a3cb6
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

23
.build.yml Normal file
View file

@ -0,0 +1,23 @@
image: alpine/edge
packages:
- rustup
sources:
- https://git.sr.ht/~victormignot/yorokobot
tasks:
- setup: |
rustup default stable
- format-check: |
cd yorokobot
cargo fmt --check
- lint-check: |
cd yorokobot
cargo clippy
- check-build: |
cd yorokobot
cargo check