Add clippy workflow
This commit is contained in:
parent
11024a856f
commit
7016182d01
12
.github/workflows/clippy.yml
vendored
Normal file
12
.github/workflows/clippy.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
on: [push]
|
||||
name: clippy
|
||||
jobs:
|
||||
clippy:
|
||||
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 -- -A clippy::pedantic
|
Loading…
x
Reference in New Issue
Block a user