Skip to content

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

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#424
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

This PR updates the repository’s GitHub Actions workflows to make CI runs more deterministic and efficient by pinning uv to a specific version with caching enabled, and by adding workflow-level concurrency to reduce redundant runs.

Changes:

  • Pin uv to 0.10.9 and enable setup-uv caching across all workflows that install uv.
  • Add concurrency groups to CI and linter workflows to cancel in-progress runs when new commits are pushed.

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 for lockfile update automation.
.github/workflows/super-linter.yaml Adds concurrency cancellation and pins uv to 0.10.9 (with caching) for lint workflow consistency.
.github/workflows/python-ci.yml Adds concurrency cancellation and pins uv to 0.10.9 (with caching) for CI consistency across the matrix.
.github/workflows/copilot-setup-steps.yml Pins uv to 0.10.9 (with caching) for Copilot setup determinism.

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