Skip to content

Commit

Permalink
feat: add env var CARGO_INCREMENTAL before running clippy
Browse files Browse the repository at this point in the history
The command:

```
cargo clippy --all-targets -- -D clippy::pedantic
```

shows more errors when the CARGO_INCREMENTAL env var is 0.

For unknown reason.
  • Loading branch information
josecelano committed May 15, 2023
1 parent c71949f commit 5bd233a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
- name: Check
run: cargo check --all-targets
- name: Clippy
run: cargo clippy --all-targets -- -D clippy::pedantic
run: cargo clippy --version && cargo clippy --all-targets -- -D clippy::pedantic
env:
CARGO_INCREMENTAL: 0
- name: Install torrent edition tool (needed for testing)
run: cargo install imdl
- name: Unit and integration tests
Expand Down

0 comments on commit 5bd233a

Please sign in to comment.