From 8c2513303338084449d9f3bdf12f66bfd1e6e26a Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 25 Feb 2019 16:22:10 +0100 Subject: [PATCH] Check formatting on CI --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9cbba430..77e8f386 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,3 +43,9 @@ steps: - script: cargo rustc -- -Clink-arg=-nostartfiles displayName: 'Build' + +- script: rustup component add rustfmt + displayName: 'Install Rustfmt' + +- script: cargo fmt -- --check + displayName: 'Check Formatting'