Improve efficiency of CI workflow through several small changes#1042
Merged
mhucka merged 6 commits intoquantumlib:mainfrom Apr 9, 2026
Merged
Improve efficiency of CI workflow through several small changes#1042mhucka merged 6 commits intoquantumlib:mainfrom
mhucka merged 6 commits intoquantumlib:mainfrom
Conversation
Remove `depth: 0` from `actions/checkout` jobs that don't need it.
There's little to be gained in efficiency by prefiltering the files passed to yamllint. Skip running `find ... | xargs`.
There's little to be gained in efficiency by prefiltering the files passed to buildifier. Skip running `find ... | xargs`.
Finding the Dockerfiles can be done more efficiently than running a find and xargs pipeline.
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
pavoljuhas
approved these changes
Apr 9, 2026
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.
Efficiency changes:
Most of the CI jobs don't need the full git history. We can remove
fetch-depth: 0when callingactions/checkoutin those jobs.Remove
find-xargspipelines when calling linters. It adds complexity and is unlikely to result in performance improvements for small repos like most of ours.Remove Scorecard data upload for debugging, because we never used it.
Run the pr-labeler workflow on
ubuntu-slimrunners.