aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Jankowski <daniel.jankowski@rub.de>2024-09-16 21:22:43 +0200
committerDaniel Jankowski <daniel.jankowski@rub.de>2024-09-16 21:22:43 +0200
commit11aaf5ff8f32ca53491f67cc15ecf581a3a60228 (patch)
treed6fc7cb25471953fa89a22d12deecfff1d877a88
parentfix(ci): correct toolchain for clippy (diff)
downloadsl0pstatus-11aaf5ff8f32ca53491f67cc15ecf581a3a60228.tar.gz
sl0pstatus-11aaf5ff8f32ca53491f67cc15ecf581a3a60228.tar.xz
sl0pstatus-11aaf5ff8f32ca53491f67cc15ecf581a3a60228.zip
fix(ci): don't lint the bin
-rw-r--r--.github/workflows/lint.yml2
-rw-r--r--justfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 17ac4ff..a276c4d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -22,7 +22,7 @@ jobs:
- name: Run Clippy
uses: clechasseur/rs-clippy-check@6489db34e7d7a162364f8ee3d7ad2cd1060dc1d7 # v3
with:
- args: --all-features --all-targets
+ args: --all-features --lib
toolchain: '1.81.0'
tests:
diff --git a/justfile b/justfile
index 3cd9eab..a5c5362 100644
--- a/justfile
+++ b/justfile
@@ -21,7 +21,7 @@ test:
# Lint with clippy and cargo audit.
lint:
- cargo clippy --all-targets --all-features
+ cargo clippy --all-features --lib
cargo audit
# Create and push a new release version.