summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-06-10 12:21:01 +0200
committerGitHub <noreply@github.com>2022-06-10 12:21:01 +0200
commitedac2eb5a901f1210f2a818bff5d26112a40087c (patch)
treeaf312148b10b3eb15f6519e4e02a77fd8605ab1f
parent10baf303c9e736b6473fbd20d25550a3b7738742 (diff)
add(ci/makefile): run clippy on all features (#1479)
Run clippy on all exposed features, to minimize the possiblility of breakage.
-rw-r--r--.github/workflows/rust.yml2
-rw-r--r--Makefile.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index b177a4bcc..280bd131d 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 edbc18280..88f3e1eec 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]