Try clippy in CI
This commit is contained in:
parent
979cf7ac6d
commit
a0d0d297d9
|
@ -21,7 +21,7 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
codecov:
|
codecov:
|
||||||
name: Code Coverage
|
name: Code Coverage & Clippy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
@ -44,6 +44,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: target
|
path: target
|
||||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
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
|
- name: Install cargo-tarpaulin
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue