| 1 | name: Stable lints |
| 2 | |
| 3 | # We only run these lints on trial-merges of PRs to reduce noise. |
| 4 | on: pull_request |
| 5 | |
| 6 | jobs: |
| 7 | clippy: |
| 8 | name: Clippy (1.51.0) |
| 9 | timeout-minutes: 30 |
| 10 | runs-on: ubuntu-latest |
| 11 | |
| 12 | steps: |
| 13 | - uses: actions/checkout@v2 |
| 14 | - uses: actions-rs/toolchain@v1 |
| 15 | with: |
| 16 | toolchain: 1.51.0 |
| 17 | components: clippy |
| 18 | override: true |
| 19 | - name: Run clippy |
| 20 | uses: actions-rs/clippy-check@v1 |
| 21 | with: |
| 22 | name: Clippy (1.51.0) |
| 23 | token: ${{ secrets.GITHUB_TOKEN }} |
| 24 | args: --all-features --all-targets -- -D warnings |