25 lines
435 B
YAML
25 lines
435 B
YAML
image: alpine/edge
|
|
packages:
|
|
- curl
|
|
|
|
sources:
|
|
- https://git.sr.ht/~victormignot/yorokobot
|
|
|
|
tasks:
|
|
- setup: |
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
rustup toolchain install stable
|
|
rustup default stable
|
|
|
|
- format-check: |
|
|
cd yorokobot
|
|
cargo fmt --check
|
|
|
|
- lint-check: |
|
|
cd yorokobot
|
|
cargo clippy
|
|
|
|
- check-build: |
|
|
cd yorokobot
|
|
cargo check
|