Use the official rust image
This commit is contained in:
parent
fd3a153103
commit
68cb4d5482
1 changed files with 2 additions and 1 deletions
|
@ -7,8 +7,9 @@ workspace:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: code style
|
- name: code style
|
||||||
image: rustlang/rust:nightly-slim
|
image: rust:1.47
|
||||||
commands:
|
commands:
|
||||||
|
- rustup toolchain install nightly-x86_64-unknown-linux-gnu
|
||||||
- rustup component add rustfmt --toolchain nightly
|
- rustup component add rustfmt --toolchain nightly
|
||||||
- cargo +nightly fmt --all -- --check
|
- cargo +nightly fmt --all -- --check
|
||||||
# - name: code quality
|
# - name: code quality
|
||||||
|
|
Loading…
Reference in a new issue