mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
ci: check rustfmt
This commit is contained in:
parent
f1e1c5e521
commit
f9c2009023
1 changed files with 9 additions and 0 deletions
|
@ -78,6 +78,15 @@ readme:
|
||||||
- cargo readme -t README.tpl >README.md.new
|
- cargo readme -t README.tpl >README.md.new
|
||||||
- diff README.md README.md.new
|
- diff README.md README.md.new
|
||||||
|
|
||||||
|
rustfmt:
|
||||||
|
stage: test
|
||||||
|
image: rustlang/rust:nightly-slim
|
||||||
|
before_script:
|
||||||
|
- cargo -V
|
||||||
|
- cargo fmt --version
|
||||||
|
script:
|
||||||
|
- cargo fmt -- --check
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
stage: build
|
stage: build
|
||||||
image: rust:slim
|
image: rust:slim
|
||||||
|
|
Loading…
Add table
Reference in a new issue