yorokobot/.build.yml
2022-11-21 00:39:58 -05:00

26 lines
467 B
YAML

image: debian/stable
packages:
- curl
sources:
- https://git.sr.ht/~victormignot/yorokobot
tasks:
- setup: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y
rustup toolchain install stable
rustup default stable
source $HOME/.cargo/env
- format-check: |
cd yorokobot
cargo fmt --check
- lint-check: |
cd yorokobot
cargo clippy
- check-build: |
cd yorokobot
cargo check