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'