added rustfmt, a guide about this, and a CI job to enforce code quality #10
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ steps:
|
||||||
- name: code style
|
- name: code style
|
||||||
image: rust:1.47
|
image: rust:1.47
|
||||||
commands:
|
commands:
|
||||||
|
- rustup component add rustfmt
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
# - name: code quality
|
# - name: code quality
|
||||||
# image: rust:1.47
|
# image: rust:1.47
|
||||||
|
|
Loading…
Reference in a new issue