blob: 8e6e1b28599393f6b8e58611a0b406d8c85a9b31 [file] [log] [blame]
jobs:
- job: ${{ parameters.name }}
displayName: Clippy
pool:
vmImage: ubuntu-16.04
steps:
- template: azure-install-rust.yml
parameters:
rust_version: stable
- script: rustup component add clippy
displayName: "Add component"
- script: cargo clippy --all-targets --all-features -- -D warnings -A clippy::cognitive-complexity
displayName: "Run Clippy"