Check with nightly image; remove zsh-ism
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
a104ebc3f6
commit
6d1d441372
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@ variables:
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
image: rustlang/rust:nightly
|
||||||
script:
|
script:
|
||||||
- rustfmt --check --edition 2018 **/*.rs
|
- find -type f -iname '*.rs' -not -path './target/*' | xargs rustfmt --check --edition 2018
|
||||||
|
|
||||||
rust-latest-build:
|
rust-latest-build:
|
||||||
extends:
|
extends:
|
||||||
|
|
Loading…
Reference in a new issue