Skip to content

build: pin uv version and add linter concurrency#423

Closed
jmeridth wants to merge 1 commit intomainfrom
jm_pin_uv_version_and_linter_concurrency
Closed

build: pin uv version and add linter concurrency#423
jmeridth wants to merge 1 commit intomainfrom
jm_pin_uv_version_and_linter_concurrency

Conversation

@jmeridth
Copy link
Collaborator

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.

## 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>
@jmeridth jmeridth requested a review from zkoppert as a code owner March 11, 2026 05:50
Copilot AI review requested due to automatic review settings March 11, 2026 05:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 uv to 0.10.9 via astral-sh/setup-uv inputs across workflows.
  • Enable setup-uv caching in the update-uv-lock workflow.
  • 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.

@jmeridth jmeridth closed this Mar 11, 2026
@jmeridth jmeridth deleted the jm_pin_uv_version_and_linter_concurrency branch March 11, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants