ci: enable clippy

This commit is contained in:
Ririsoft 2020-06-07 20:58:58 +02:00 committed by Jacob Rothstein
parent e89b02fda1
commit 53fd6a6f64
1 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: clippy
override: true
- name: check
@ -40,6 +41,12 @@ jobs:
command: check
args: --all --benches --bins --examples --tests --features "hyperium_http,unstable"
- name: clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: tests
uses: actions-rs/cargo@v1
with: