Enable clippy
This commit is contained in:
parent
4aa0267e48
commit
428fb624d6
19
.github/workflows/clippy.yml
vendored
Normal file
19
.github/workflows/clippy.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
name: Clippy check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
checks: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
clippy_check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- run: rustup component add clippy
|
||||||
|
- uses: actions-rs/clippy-check@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
args: --all-features
|
Loading…
x
Reference in New Issue
Block a user