Add directly rust to CI packages

This commit is contained in:
Victor Mignot 2022-11-21 00:30:54 -05:00
parent 1f6f5df236
commit cf136261e6
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

View file

@ -1,16 +1,11 @@
image: alpine/edge image: alpine/edge
packages: packages:
- curl - rust
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
rustup toolchain install stable
rustup default stable
- format-check: | - format-check: |
cd yorokobot cd yorokobot
cargo fmt --check cargo fmt --check