Skip to content

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

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#691
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 the uv tool version and enables caching in GitHub Actions workflows, while adding concurrency settings to reduce redundant CI runs.

Changes:

  • Pin uv to 0.10.9 and enable setup-uv caching across workflows.
  • Add workflow concurrency groups to cancel in-progress runs on new pushes (CI + linter).

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 Pin uv version and enable caching for the lockfile update workflow.
.github/workflows/python-package.yml Add concurrency cancellation; pin uv and enable caching for CI runs.
.github/workflows/linter.yaml Add concurrency cancellation; pin uv and enable caching for linter runs.
.github/workflows/copilot-setup-steps.yml Pin uv version and enable caching for Copilot setup 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.

2 participants