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" |