foundry-rs / foundry-rs/foundry
feat: enable cache for forge coverage in `out/coverage`
Open
A-compiler
A-config
C-forge
Cmd-forge-coverage
T-feature
T-perf
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Forge
### Describe the feature you would like
I'd like the build step in the coverage command to cache the contracts.
`forge test` does, but `forge coverage` does not. I understand there is a difference in how the contracts are built between `forge test` & `forge coverage`, so it's fine to have separate caches, but it'd be very helpful to have a cache here.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.