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