Add source hut CI instructions
This commit is contained in:
parent
14a6569cd8
commit
f15f7a3cb6
23
.build.yml
Normal file
23
.build.yml
Normal 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
|
Loading…
Reference in a new issue