1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-26 17:08:26 +02:00

Use stable rustfmt

And install it as the container doesn't have it. Fortunately it's rather
quick (few seconds).

The previous nightly container apparently dropped rustfmt, which is
understandable as not all tools are available all the time. That's on
us.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-03-26 18:09:59 +01:00
parent 476813a10a
commit f41b6bfd32
No known key found for this signature in database
GPG Key ID: DEDA74AEECA9D0F2

View File

@ -26,9 +26,11 @@ variables:
rustfmt:
stage: lint
image: rustlang/rust:nightly
script:
- rustup component add rustfmt
- find -type f -iname '*.rs' -not -path './target/*' | xargs rustfmt --check --edition 2018
extends:
- .stable
rust-latest-build:
extends: