mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
CI: Replace manual rustfmt invocation with cargo fmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
36e66a7ac4
commit
267ff2e817
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ rustfmt:
|
|||
stage: lint
|
||||
script:
|
||||
- rustup component add rustfmt
|
||||
- find -type f -iname '*.rs' -not -path './target/*' | xargs rustfmt --check --edition 2018
|
||||
- cargo fmt --check
|
||||
extends:
|
||||
- .stable
|
||||
|
||||
|
|
Loading…
Reference in a new issue