Skip to content

fix: run uv lock before uv sync in CI - #8

Merged
andrewklatzke merged 1 commit into
mainfrom
fix/uv-lock-before-sync
Jul 31, 2026
Merged

fix: run uv lock before uv sync in CI#8
andrewklatzke merged 1 commit into
mainfrom
fix/uv-lock-before-sync

Conversation

@andrewklatzke

Copy link
Copy Markdown
Contributor

Summary

Release-please bumps version numbers in pyproject.toml and __init__.py but doesn't update uv.lock. This causes uv sync --all-packages to fail with exit code 2 due to a lock file mismatch.

Adds uv lock before uv sync in:

  • .github/workflows/ci.yml (all 4 jobs)
  • .github/actions/ci/action.yml
  • .github/actions/build/action.yml

This is a no-op for normal PRs where the lock file already matches, and fixes the release-please case where versions have been bumped.

Release-please bumps versions in pyproject.toml but doesn't update
uv.lock, causing uv sync to fail with a lock mismatch. Running
uv lock first ensures the lock file matches before syncing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@andrewklatzke
andrewklatzke merged commit 16f7535 into main Jul 31, 2026
7 checks passed
@andrewklatzke
andrewklatzke deleted the fix/uv-lock-before-sync branch July 31, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants