Fail if Rust can't be installed

Signed-off-by: Robert Vojta <rvojta@me.com>
This commit is contained in:
Robert Vojta 2019-10-18 23:06:23 +02:00
parent 39fc90ad9e
commit cd2b598cb0
No known key found for this signature in database
GPG Key ID: 9D3E01ABC4B5802C

View File

@ -34,14 +34,12 @@ jobs:
with: with:
rust-version: ${{ matrix.rust }} rust-version: ${{ matrix.rust }}
components: rustfmt components: rustfmt
continue-on-error: ${{ matrix.can-fail }}
- name: Toolchain Information - name: Toolchain Information
run: | run: |
rustc --version rustc --version
rustfmt --version rustfmt --version
rustup --version rustup --version
cargo --version cargo --version
continue-on-error: ${{ matrix.can-fail }}
- name: Check Formatting - name: Check Formatting
if: matrix.rust == 'stable' if: matrix.rust == 'stable'
run: cargo fmt --all -- --check run: cargo fmt --all -- --check