Add clippy workflow

This commit is contained in:
Garen Tyler 2023-05-03 22:19:52 -06:00
parent 11024a856f
commit 7016182d01
Signed by: garentyler
GPG Key ID: D7A048C454CB7054

12
.github/workflows/clippy.yml vendored Normal file
View 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