2021-05-03 14:23:31 -07:00
|
|
|
name: Stable lints
|
|
|
|
|
|
|
|
# We only run these lints on trial-merges of PRs to reduce noise.
|
|
|
|
on: pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clippy:
|
2023-02-10 09:58:24 -08:00
|
|
|
name: Clippy (MSRV)
|
2021-05-03 14:23:31 -07:00
|
|
|
timeout-minutes: 30
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-04-28 17:26:50 -07:00
|
|
|
- uses: actions/checkout@v3
|
2023-02-10 10:50:12 -08:00
|
|
|
- id: prepare
|
|
|
|
uses: ./.github/actions/prepare
|
|
|
|
with:
|
|
|
|
nightly-features: true
|
2023-02-10 09:58:24 -08:00
|
|
|
- run: rustup component add clippy
|
2021-05-03 14:23:31 -07:00
|
|
|
- name: Run clippy
|
|
|
|
uses: actions-rs/clippy-check@v1
|
|
|
|
with:
|
2023-02-10 09:58:24 -08:00
|
|
|
name: Clippy (MSRV)
|
2021-05-03 14:23:31 -07:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2023-02-10 10:50:12 -08:00
|
|
|
args: >
|
|
|
|
${{ steps.prepare.outputs.feature-flags }}
|
|
|
|
--all-targets
|
|
|
|
-- -D warnings
|