Skip to content

fix: pin uv version and add caching to CI workflows#447

Open
jmeridth wants to merge 1 commit intomainfrom
fix/uv-version-pin-and-caching
Open

fix: pin uv version and add caching to CI workflows#447
jmeridth wants to merge 1 commit intomainfrom
fix/uv-version-pin-and-caching

Conversation

@jmeridth
Copy link
Collaborator

@jmeridth jmeridth commented Mar 11, 2026

Summary

  • Pin uv to version 0.10.9 with caching enabled across all setup-uv action usages
  • Add concurrency groups to CI and linter workflows to cancel in-progress runs on new pushes
  • Mirrors changes from fix: uv version pin and caching evergreen#496

Test plan

  • Verify CI workflows run successfully with pinned uv version
  • Verify caching works on subsequent runs
  • Verify concurrency cancellation works when pushing multiple times to same branch

## What

Pin uv to version 0.10.9 with caching enabled across all setup-uv action
usages in CI workflows. Add concurrency groups to CI and linter workflows
to cancel in-progress runs on new pushes.

## Why

Unpinned uv versions can cause unexpected CI breakage when new releases
introduce breaking changes. Caching speeds up workflow runs. Concurrency
cancellation avoids wasting CI resources on outdated pushes.

## Notes

- Mirrors changes from github-community-projects/evergreen#496
- The concurrency block only applies to CI and linter workflows, not to
  copilot-setup-steps or update-uv-lock workflows

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth requested a review from zkoppert as a code owner March 11, 2026 06:10
Copilot AI review requested due to automatic review settings March 11, 2026 06:10
@github-actions github-actions bot added the fix label Mar 11, 2026
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 uv to a specific version and enables caching across workflows, while adding concurrency controls to reduce redundant CI runs.

Changes:

  • Pin uv to 0.10.9 and enable setup-uv caching in all affected workflows
  • Add workflow-level concurrency groups to CI and linter workflows to cancel in-progress runs on new pushes

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 and enables caching for the lockfile update job.
.github/workflows/python-package.yml Adds concurrency cancellation and standardizes uv install with caching.
.github/workflows/linter.yaml Adds concurrency cancellation and standardizes uv install with caching.
.github/workflows/copilot-setup-steps.yml Pins uv and enables caching for Copilot setup steps workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants