github: stop running nightly clippy

It seems fine to wait for the clippy lints to graduate before we run
them if we can save a bit of GitHub resources.
This commit is contained in:
Martin von Zweigbergk 2022-05-03 14:08:55 -07:00 committed by Martin von Zweigbergk
parent e4f83e353e
commit cce2ca06e2

View file

@ -66,8 +66,8 @@ jobs:
command: fmt
args: --all -- --check
clippy-stable:
name: Clippy check (stable)
clippy-check:
name: Clippy check
permissions:
checks: write
runs-on: ubuntu-latest
@ -83,21 +83,3 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --workspace
clippy-nightly:
name: Clippy check (nightly)
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af
with:
toolchain: nightly
profile: minimal
components: clippy
override: true
- uses: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --workspace