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:
rust-version: ${{ matrix.rust }}
components: rustfmt
continue-on-error: ${{ matrix.can-fail }}
- name: Toolchain Information
run: |
rustc --version
rustfmt --version
rustup --version
cargo --version
continue-on-error: ${{ matrix.can-fail }}
- name: Check Formatting
if: matrix.rust == 'stable'
run: cargo fmt --all -- --check