From edac2eb5a901f1210f2a818bff5d26112a40087c Mon Sep 17 00:00:00 2001 From: a-kenji Date: Fri, 10 Jun 2022 12:21:01 +0200 Subject: [PATCH] add(ci/makefile): run clippy on all features (#1479) Run clippy on all exposed features, to minimize the possiblility of breakage. --- .github/workflows/rust.yml | 2 +- Makefile.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b177a4bc..280bd131 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -76,4 +76,4 @@ jobs: uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features + args: --all-features --all-targets diff --git a/Makefile.toml b/Makefile.toml index edbc1828..88f3e1ee 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -92,7 +92,7 @@ args = [ # Simple clippy tweak [tasks.clippy] -args = ["clippy", "--all-targets", "--", "@@split(CARGO_MAKE_TASK_ARGS,;)"] +args = ["clippy", "--all-targets","--all-features","--", "@@split(CARGO_MAKE_TASK_ARGS,;)"] # Release building and installing Zellij [tasks.install]