CI: fix fmt

This commit is contained in:
François Laignel 2018-12-09 15:57:41 +01:00
parent e64a9b4a1a
commit 4812884453

View file

@ -69,9 +69,9 @@ test nightly:
<<: *cargo_test <<: *cargo_test
rustfmt: rustfmt:
image: "rustlang/rust:nightly-slim" image: "rust:slim"
stage: "lint" stage: "lint"
script: script:
- rustup component add rustfmt-preview - rustup component add rustfmt
- cargo fmt --version - cargo fmt --version
- cargo fmt -- --color=always --check - cargo fmt -- --color=always --check