Skip to content

Commit e90d210

Browse files
authored
fix(core): exclude ethrex-prover-bench on make lint (#2618)
**Motivation** `make lint` throws an error in main: ``` error occurred in cc-rs: failed to find tool "nvcc": No such file or directory (os error 2) ``` **Description** Exclude `ethrex-prover-bench` when running clippy. Closes None
1 parent 7d56f67 commit e90d210

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pr-main_l1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run cargo clippy
3636
run: |
3737
cargo clippy --workspace --exclude ethrex-prover-bench -- -D warnings
38-
cargo clippy --all-targets --all-features --workspace --exclude ethrex-prover --exclude ethrex-prover-bench --exclude zkvm_interface -- -D warnings
38+
make lint
3939
4040
- name: Run cargo fmt
4141
run: |

.github/workflows/pr-main_l2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Run cargo clippy
6868
run: |
6969
cargo clippy --workspace --exclude ethrex-prover-bench -- -D warnings
70-
cargo clippy --all-targets --all-features --workspace --exclude ethrex-prover --exclude zkvm_interface --exclude ethrex-prover-bench -- -D warnings
70+
make lint
7171
7272
- name: Run cargo fmt
7373
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build: ## 🔨 Build the client
99
cargo build --workspace
1010

1111
lint: ## 🧹 Linter check
12-
cargo clippy --all-targets --all-features --workspace --exclude ethrex-prover --exclude zkvm_interface -- -D warnings
12+
cargo clippy --all-targets --all-features --workspace --exclude ethrex-prover --exclude zkvm_interface --exclude ethrex-prover-bench -- -D warnings
1313

1414
CRATE ?= *
1515
test: ## 🧪 Run each crate's tests

0 commit comments

Comments
 (0)