Update clippy minor fixes, add clippy to GHA

This commit is contained in:
2021-03-17 22:00:36 +01:00
parent 53286f535c
commit e4b7ced755
3 changed files with 74 additions and 81 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 }}