Skip to content

Use --no-sync on uv run commands in CI - #364

Merged
johnthagen merged 1 commit into
mainfrom
uv-run-no-sync-ci
Oct 5, 2026
Merged

johnthagen merged 1 commit into
mainfrom
uv-run-no-sync-ci

Conversation

@johnthagen

@johnthagen johnthagen commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Use uv run --no-sync when called after uv sync --locked to ensure that uv run doesn't re-sync the environment (potentially overwriting --only-group etc options from the uv sync command).

Slightly prefer this style over combining both steps into uv run --locked to make each step clear in CI.

@johnthagen johnthagen self-assigned this Oct 5, 2026
@johnthagen johnthagen added the enhancement New feature or request label Oct 5, 2026
@johnthagen
johnthagen merged commit 7a13cc7 into main Oct 5, 2026
20 checks passed
@johnthagen
johnthagen deleted the uv-run-no-sync-ci branch October 5, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant