install correct version

This commit is contained in:
Maximilian Roos 2019-09-11 13:49:16 -04:00
parent 5ca075e38b
commit 206998a41a
No known key found for this signature in database
GPG Key ID: 3232F28BEDA66FCD

View File

@ -20,8 +20,9 @@ steps:
export PATH=$HOME/.cargo/bin:$PATH
rustc -Vv
echo "##vso[task.prependpath]$HOME/.cargo/bin"
rustup component add rustfmt --toolchain `cat rust-toolchain`
displayName: Install Rust
- bash: RUSTFLAGS="-D warnings" cargo test --all-features
displayName: Run tests
- bash: cargo fmt
- bash: cargo fmt --all -- --check
displayName: Lint