ci: optimize GitHub workflows with caching, concurrency, timeouts, and permissions #41
Merged
WiseMrMusa merged 11 commits intomainfrom Feb 18, 2026
Merged
ci: optimize GitHub workflows with caching, concurrency, timeouts, and permissions #41WiseMrMusa merged 11 commits intomainfrom
WiseMrMusa merged 11 commits intomainfrom
Conversation
…d permissions - Add Swatinem/rust-cache@v2 to all Rust build workflows for intelligent caching of ~/.cargo and target/ - Add concurrency groups with cancel-in-progress to all workflows so duplicate runs on the same branch/PR are automatically cancelled - Add timeout-minutes to all jobs that were missing them - Add least-privilege permissions (contents: read) at workflow level, with job-level overrides only where needed - Replace cargo install with taiki-e/install-action for cargo-llvm-cov and cargo-deny (pre-built binaries, much faster) - Simplify dependency-audit.yml by removing manual cache management - Enable cache-on-failure for Miri builds (slow builds benefit from partial caches) - Tighten docs.yml permissions: docs job only needs read, not write
This commit splits fmt, clippy and typos into three different jobs It includes paths where changes there don't trigger a new action
maksimryndin
requested changes
Feb 18, 2026
Collaborator
maksimryndin
left a comment
There was a problem hiding this comment.
looks good but there some fixes are needed
maksimryndin
approved these changes
Feb 18, 2026
Collaborator
maksimryndin
left a comment
There was a problem hiding this comment.
Awesome! thanks @WiseMrMusa ! 👍
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.
Closes #40