Always use stable rustfmt for CI. (#1074)
Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
This commit is contained in:
parent
4ae9900363
commit
03f9e8fce0
1 changed files with 3 additions and 2 deletions
|
|
@ -45,10 +45,11 @@ matrix:
|
||||||
install:
|
install:
|
||||||
- rustup self update
|
- rustup self update
|
||||||
- rustup target add $TARGET; true
|
- rustup target add $TARGET; true
|
||||||
- rustup component add rustfmt
|
- rustup toolchain install stable
|
||||||
|
- rustup component add rustfmt --toolchain stable
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo fmt --all -- --check
|
- cargo +stable fmt --all -- --check
|
||||||
- cargo build --target $TARGET --verbose
|
- cargo build --target $TARGET --verbose
|
||||||
- cargo build --target $TARGET --features serde --verbose
|
- cargo build --target $TARGET --features serde --verbose
|
||||||
# Running iOS apps on OSX requires the simulator so we skip that for now
|
# Running iOS apps on OSX requires the simulator so we skip that for now
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue