Add Rustfmt to CI
This commit is contained in:
committed by
Sean McArthur
parent
b039ef25bc
commit
e72d6dc189
@@ -21,9 +21,13 @@ matrix:
|
|||||||
# - rust: nightly
|
# - rust: nightly
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- rustup component add rustfmt-preview
|
||||||
- cargo clean
|
- cargo clean
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
# Check formatting
|
||||||
|
- cargo fmt --all -- --check
|
||||||
|
|
||||||
# Build without unstable flag
|
# Build without unstable flag
|
||||||
- cargo build
|
- cargo build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user