Fix Azure Pipelines formatting job display name
This was showing up as `check_formatting Job`, see https://dev.azure.com/graphql-rust/GraphQL%20Rust/_build/results?buildId=162
This commit is contained in:
parent
fa80bf7de7
commit
29389e8f72
1 changed files with 3 additions and 2 deletions
|
@ -1,16 +1,17 @@
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
- job: check_formatting
|
- job: check_formatting
|
||||||
|
displayName: Check formatting
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
$HOME/.cargo/bin/rustup component add rustfmt
|
$HOME/.cargo/bin/rustup component add rustfmt
|
||||||
displayName: Install rust
|
displayName: Install stable Rust
|
||||||
- script: |
|
- script: |
|
||||||
$HOME/.cargo/bin/cargo fmt -- --check
|
$HOME/.cargo/bin/cargo fmt -- --check
|
||||||
displayName: Check formatting
|
displayName: Run rustfmt
|
||||||
|
|
||||||
- template: _build/azure-pipelines-template.yml
|
- template: _build/azure-pipelines-template.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
|
Loading…
Add table
Reference in a new issue