build: pin uv version and add linter concurrency#423
Closed
Conversation
## What Pin astral-sh/setup-uv to version 0.10.9 with caching enabled across all CI workflows, and add a concurrency group to the linter workflow to cancel in-progress runs on the same branch. ## Why Pinning the uv version prevents unexpected breakage from new uv releases while enable-cache speeds up CI runs. The concurrency group avoids wasting CI minutes on outdated linter runs when new commits are pushed. ## Notes - The version pin means dependabot won't auto-update uv — manual bumps will be needed when upgrading. - Caching is now enabled on update-uv-lock.yml too; verify this doesn't interfere with lock file regeneration. Signed-off-by: jmeridth <jmeridth@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Pins the uv tool version used in GitHub Actions workflows to reduce CI breakage from upstream uv changes, enables caching where missing, and adds workflow-level concurrency to avoid redundant linter runs.
Changes:
- Pin
uvto0.10.9viaastral-sh/setup-uvinputs across workflows. - Enable
setup-uvcaching in theupdate-uv-lockworkflow. - Add a concurrency group to the super-linter workflow to cancel in-progress runs on the same ref.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/update-uv-lock.yml | Pins uv to 0.10.9 and enables caching before regenerating uv.lock. |
| .github/workflows/super-linter.yaml | Adds concurrency cancellation and pins uv to 0.10.9. |
| .github/workflows/python-ci.yml | Pins uv to 0.10.9 for test/lint matrix runs. |
| .github/workflows/copilot-setup-steps.yml | Pins uv to 0.10.9 for Copilot pre-setup steps. |
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.
What
Pin astral-sh/setup-uv to version 0.10.9 with caching enabled across all CI workflows, and add a concurrency group to the linter workflow to cancel in-progress runs on the same branch.
Why
Pinning the uv version prevents unexpected breakage from new uv releases while enable-cache speeds up CI runs. The concurrency group avoids wasting CI minutes on outdated linter runs when new commits are pushed.
Notes