Cache llvm-cov tool#34
Merged
Merged
Conversation
Contributor
|
I think it works, and times are much better. |
Contributor
Author
|
@Fantoni0, I've ran into that too. However, the short-term fix is pretty simple - go to |
This was referenced Dec 26, 2025
frozenspider
added a commit
that referenced
this pull request
Dec 26, 2025
A follow-up to #34 Once cache is formed, it's not updated anymore (see actions/toolkit#505). As such, it doesn't make sense having the cache shared between unrelated actions. Made each action using a cache key tied to its tool.
frozenspider
added a commit
to NethermindEth/zinc-plus
that referenced
this pull request
Dec 29, 2025
ElijahVlasov
pushed a commit
to NethermindEth/crypto-primitives
that referenced
this pull request
Jan 7, 2026
WiseMrMusa
pushed a commit
that referenced
this pull request
Feb 18, 2026
Installing `cargo-llvm-cov` each time takes a long time and is wasteful. Cache it the same way we cache `cargo-deny`. | GH Action | Time before | Time after | | ------------- | ------------- | ------------- | | Coverage (PR) | [166 seconds](https://github.com/NethermindEth/rust-template/actions/runs/19867825551) | [38 seconds](https://github.com/NethermindEth/rust-template/actions/runs/20507497399) | | Coverage (Push) | [87 seconds](https://github.com/NethermindEth/rust-template/actions/runs/19242367930) |[ 18 seconds](https://github.com/NethermindEth/rust-template/actions/runs/20507478141) |
WiseMrMusa
pushed a commit
that referenced
this pull request
Feb 18, 2026
A follow-up to #34 Once cache is formed, it's not updated anymore (see actions/toolkit#505). As such, it doesn't make sense having the cache shared between unrelated actions. Made each action using a cache key tied to its tool.
WiseMrMusa
pushed a commit
that referenced
this pull request
Feb 18, 2026
Installing `cargo-llvm-cov` each time takes a long time and is wasteful. Cache it the same way we cache `cargo-deny`. | GH Action | Time before | Time after | | ------------- | ------------- | ------------- | | Coverage (PR) | [166 seconds](https://github.com/NethermindEth/rust-template/actions/runs/19867825551) | [38 seconds](https://github.com/NethermindEth/rust-template/actions/runs/20507497399) | | Coverage (Push) | [87 seconds](https://github.com/NethermindEth/rust-template/actions/runs/19242367930) |[ 18 seconds](https://github.com/NethermindEth/rust-template/actions/runs/20507478141) |
WiseMrMusa
pushed a commit
that referenced
this pull request
Feb 18, 2026
A follow-up to #34 Once cache is formed, it's not updated anymore (see actions/toolkit#505). As such, it doesn't make sense having the cache shared between unrelated actions. Made each action using a cache key tied to its tool.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Installing
cargo-llvm-coveach time takes a long time and is wasteful. Cache it the same way we cachecargo-deny.