ci: clippy check without default features

master
Johannes Becker 2021-04-21 10:51:11 +02:00
parent 910a45b3d5
commit 28ddb9b70b
1 changed files with 7 additions and 0 deletions

View File

@ -54,6 +54,13 @@ jobs:
command: clippy command: clippy
args: --all-targets -- -D warnings args: --all-targets -- -D warnings
- name: Clippy without default features
uses: actions-rs/cargo@v1
with:
command: clippy
# TODO: add `--all-targets` once all warnings in examples are resolved
args: --no-default-features --features native-tls -- -D warnings
check-wasm: check-wasm:
name: Check if WASM support compiles name: Check if WASM support compiles
needs: [clippy] needs: [clippy]