2021-05-03 14:18:30 -07:00
|
|
|
name: Nightly lints
|
|
|
|
|
|
|
|
# These lints are only informative, so we only run them directly on branches
|
|
|
|
# and not trial-merges of PRs, to reduce noise.
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
2022-02-01 06:33:31 -08:00
|
|
|
clippy-beta:
|
|
|
|
name: Clippy (beta)
|
2021-05-03 14:18:30 -07:00
|
|
|
timeout-minutes: 30
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
continue-on-error: true
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
2022-02-01 06:33:31 -08:00
|
|
|
toolchain: beta
|
2021-05-03 14:18:30 -07:00
|
|
|
components: clippy
|
|
|
|
override: true
|
2022-02-01 06:33:31 -08:00
|
|
|
- name: Run Clippy (beta)
|
2021-05-03 14:18:30 -07:00
|
|
|
uses: actions-rs/clippy-check@v1
|
|
|
|
continue-on-error: true
|
|
|
|
with:
|
2022-02-01 06:33:31 -08:00
|
|
|
name: Clippy (beta)
|
2021-05-03 14:18:30 -07:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
args: --all-features --all-targets
|
|
|
|
|