Fix build error

This commit is contained in:
Victor Mignot 2022-11-21 00:48:26 -05:00
parent e3bbf00a8e
commit 425c6c579d
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

View file

@ -1,17 +1,12 @@
image: debian/stable image: alpine/edge
packages: packages:
- curl - rust
- cargo
sources: sources:
- https://git.sr.ht/~victormignot/yorokobot - https://git.sr.ht/~victormignot/yorokobot
tasks: 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: | - format-check: |
cd yorokobot cd yorokobot
cargo fmt --check cargo fmt --check