mirror of
https://github.com/starship/starship.git
synced 2024-12-26 09:08:53 +01:00
17 lines
388 B
YAML
17 lines
388 B
YAML
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
|
|
displayName: Install rustfmt
|
|
- script: |
|
|
cargo fmt --all -- --check
|
|
displayName: Check formatting
|