mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-22 20:52:27 +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
|
||||
- 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:
|
||||
stage: build
|
||||
image: rust:slim
|
||||
|
|
Loading…
Add table
Reference in a new issue