Skip to content

Commit 4f6eecb

Browse files
author
Joe Chung
committed
Change linter to check just my code
1 parent 73fcd57 commit 4f6eecb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: cargo build --workspace --verbose
2727

2828
- name: Lint with clippy
29-
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
29+
run: cargo clippy -p cli -p shared_lib --all-targets --all-features -- -D warnings
3030

3131
- name: Run tests
3232
run: cargo test --workspace --verbose

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cargo fmt
2525
## Lint
2626

2727
```sh
28-
cargo clippy --workspace --all-targets --all-features
28+
cargo clippy -p cli -p shared_lib --all-targets --all-features
2929
```
3030

3131
## Test

0 commit comments

Comments
 (0)