2022-11-21 06:34:49 +01:00
|
|
|
image: debian/latest
|
2022-11-21 06:22:01 +01:00
|
|
|
packages:
|
2022-11-21 06:33:55 +01:00
|
|
|
- rustup
|
2022-11-21 06:11:41 +01:00
|
|
|
|
|
|
|
sources:
|
|
|
|
- https://git.sr.ht/~victormignot/yorokobot
|
|
|
|
|
2022-11-21 06:33:55 +01:00
|
|
|
tasks:
|
|
|
|
- setup: |
|
|
|
|
rustup toolchain install stable
|
|
|
|
rustup default stable
|
|
|
|
|
2022-11-21 06:11:41 +01:00
|
|
|
- format-check: |
|
|
|
|
cd yorokobot
|
|
|
|
cargo fmt --check
|
|
|
|
|
|
|
|
- lint-check: |
|
|
|
|
cd yorokobot
|
|
|
|
cargo clippy
|
|
|
|
|
|
|
|
- check-build: |
|
|
|
|
cd yorokobot
|
|
|
|
cargo check
|