From 206998a41a61d576018a9ef15462923e178cf221 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Wed, 11 Sep 2019 13:49:16 -0400 Subject: [PATCH] install correct version --- .azure/azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index 5a8732716..851259b43 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -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