Fix build error
This commit is contained in:
parent
e3bbf00a8e
commit
425c6c579d
11
.build.yml
11
.build.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue