Switch from rustfmt-preview to rustfmt component in CI

We still have to stay at the nightly version of rustfmt as the `ignore`
option is not stable yet.
This commit is contained in:
Sebastian Dröge 2018-12-09 19:33:17 +02:00 committed by Sebastian Dröge
parent 86673009df
commit a99f71bb65

View file

@ -71,6 +71,6 @@ rustfmt:
image: "rustlang/rust:nightly-slim"
stage: "lint"
script:
- rustup component add rustfmt-preview
- rustup component add rustfmt
- cargo fmt --version
- cargo fmt -- --color=always --check