Skip to content

Commit 9743fa0

Browse files
committed
assure we run with the correct clippy version or else: ICE
1 parent 9160659 commit 9743fa0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: test
5252
env:
5353
CI: true
54-
run: make tests
54+
run: make tests-ci
5555

5656
test-fast:
5757
strategy:
@@ -121,7 +121,7 @@ jobs:
121121
toolchain: 1.65 # clippy is broken for us in 1.66
122122
components: clippy,rustfmt
123123
- name: Run cargo clippy
124-
run: cargo clippy --all --tests
124+
run: make clippy
125125
- name: Run cargo fmt
126126
run: cargo fmt --all -- --check
127127
- name: Run cargo diet

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ nix-shell-macos: ## Enter a nix-shell able to build on macos
4040

4141
tests: clippy check doc unit-tests journey-tests-pure journey-tests-small journey-tests-async journey-tests journey-tests-smart-release ## run all tests, including journey tests, try building docs
4242

43+
tests-ci: check doc unit-tests journey-tests-pure journey-tests-small journey-tests-async journey-tests journey-tests-smart-release ## run all tests, without clippy, including journey tests, try building docs
44+
4345
audit: ## run various auditing tools to assure we are legal and safe
4446
cargo deny check advisories bans licenses sources
4547

0 commit comments

Comments
 (0)