From 28ddb9b70b9601e0cb25605c8165188f5210c1e4 Mon Sep 17 00:00:00 2001 From: Johannes Becker Date: Wed, 21 Apr 2021 10:51:11 +0200 Subject: [PATCH] ci: clippy check without default features --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c075af67..d268f677 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,13 @@ jobs: command: clippy 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: name: Check if WASM support compiles needs: [clippy]