Try clippy in CI
@@ -21,7 +21,7 @@ jobs:
codecov:
- name: Code Coverage
+ name: Code Coverage & Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
@@ -44,6 +44,11 @@ jobs:
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
+ - name: Run clippy
+ uses: actions-rs/clippy-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: --all-features
- name: Install cargo-tarpaulin
uses: actions-rs/cargo@v1
with:
