Add clippy

This commit is contained in:
2022-04-09 18:12:18 +02:00
parent 7c20d7c4f4
commit ae5eb46929
2 changed files with 23 additions and 9 deletions

11
.github/workflows/clippy.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
name: Clippy check
on: [push, pull_request]
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 }}