Files
tokio/ci/azure-rustfmt.yml
T

18 lines
416 B
YAML
Raw Normal View History

2019-03-01 09:12:21 -08:00
jobs:
# Check formatting
- job: ${{ parameters.name }}
displayName: Check rustfmt
pool:
vmImage: ubuntu-16.04
steps:
- template: azure-install-rust.yml
parameters:
rust_version: stable
- script: |
rustup component add rustfmt
2019-06-24 12:34:30 -07:00
cargo fmt --version
2019-03-01 09:12:21 -08:00
displayName: Install rustfmt
- script: |
cargo fmt --all -- --check
displayName: Check formatting