Skip to content

Commit

Permalink
fix: detect xclippy presence correctly (#3)
Browse files Browse the repository at this point in the history
* fix: detect xclippy presence correctly

* ci: be a bit stricter
  • Loading branch information
huitseeker committed Dec 21, 2023
1 parent dae9682 commit 55a2b90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
args: --all -- --check
- name: Check clippy warnings
run: |
if alias xclippy >/dev/null 2>&1; then
cargo xclippy
if $(cargo --list|grep -q xclippy); then
cargo xclippy -Dwarnings
else
cargo clippy
cargo clippy -Dwarnings
fi
- name: Doctests
run: cargo test --doc --workspace
Expand Down

0 comments on commit 55a2b90

Please sign in to comment.