diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1895cd028..51b538b98 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: