24 lines
659 B
YAML
24 lines
659 B
YAML
name: Beta lints
|
|
|
|
# We only run these lints on trial-merges of PRs to reduce noise.
|
|
on: pull_request
|
|
|
|
jobs:
|
|
clippy-beta:
|
|
name: Clippy (beta)
|
|
timeout-minutes: 30
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: dtolnay/rust-toolchain@beta
|
|
id: toolchain
|
|
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
|
- name: Run Clippy (beta)
|
|
uses: actions-rs/clippy-check@v1
|
|
continue-on-error: true
|
|
with:
|
|
name: Clippy (beta)
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
args: --all-features --all-targets -- -W clippy::all
|