ci: speed up pipeline with parallel job execution and caching - #353
Open
JamesEjembi wants to merge 1 commit into
Open
ci: speed up pipeline with parallel job execution and caching#353JamesEjembi wants to merge 1 commit into
JamesEjembi wants to merge 1 commit into
Conversation
Optimize CI pipeline to reduce total pipeline time: - Add path-based change detection (skip jobs when no relevant files change) - Add concurrency group with auto-cancel for redundant runs - Split contract tests into unit/integration matrix for parallel execution - Add separate test jobs for backend after build - Cache cargo-audit binary separately with version pinning - Add build output caching for backend - Multiple cache restore-keys for better hit rate - Add CI status check job for aggregated results - Use fail-fast: false on test matrix for complete results - Cache Rust toolchain components (clippy, rustfmt) in setup Target: CI completes in under 10 minutes for typical changes. Closes AetherEdu#278
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.
Optimizes the CI pipeline to reduce total pipeline time and improve developer productivity.
Changes
Closes #278