mirror of https://github.com/zcash/halo2.git
28 lines
670 B
YAML
28 lines
670 B
YAML
name: Stable lints
|
|
|
|
# We only run these lints on trial-merges of PRs to reduce noise.
|
|
on: pull_request
|
|
|
|
jobs:
|
|
clippy:
|
|
name: Clippy (MSRV)
|
|
timeout-minutes: 30
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- id: prepare
|
|
uses: ./.github/actions/prepare
|
|
with:
|
|
nightly-features: true
|
|
- run: rustup component add clippy
|
|
- name: Run clippy
|
|
uses: actions-rs/clippy-check@v1
|
|
with:
|
|
name: Clippy (MSRV)
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
args: >
|
|
${{ steps.prepare.outputs.feature-flags }}
|
|
--all-targets
|
|
-- -D warnings
|