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 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