1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-02 22:39:21 +02:00

CI: Replace manual rustfmt invocation with cargo fmt

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-09-16 20:01:21 +02:00
parent 36e66a7ac4
commit 267ff2e817
No known key found for this signature in database
GPG Key ID: DEDA74AEECA9D0F2

View File

@ -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