2021-05-03 14:18:30 -07:00
|
|
|
name: Stable lints
|
|
|
|
|
|
|
|
# We only run these lints on trial-merges of PRs to reduce noise.
|
|
|
|
on: pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clippy:
|
2022-02-23 17:29:07 -08:00
|
|
|
name: Clippy (1.56.1)
|
2021-05-03 14:18:30 -07:00
|
|
|
timeout-minutes: 30
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
2022-02-23 17:29:07 -08:00
|
|
|
toolchain: 1.56.1
|
2021-05-03 14:18:30 -07:00
|
|
|
components: clippy
|
|
|
|
override: true
|
|
|
|
- name: Run Clippy
|
|
|
|
uses: actions-rs/clippy-check@v1
|
|
|
|
with:
|
2022-02-23 17:29:07 -08:00
|
|
|
name: Clippy (1.56.1)
|
2021-05-03 14:18:30 -07:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
args: --all-features --all-targets -- -D warnings
|