diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index b384e8df3..21bbf2609 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -19,7 +19,10 @@ steps: curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain `cat rust-toolchain` export PATH=$HOME/.cargo/bin:$PATH rustc -Vv + cargo install rustfmt echo "##vso[task.prependpath]$HOME/.cargo/bin" displayName: Install Rust - bash: RUSTFLAGS="-D warnings" cargo test --all-features displayName: Run tests + - bash: cargo fmt + displayName: Lint