Skip to content

fix: remove duplicate setup-uv from build action - #12

Merged
andrewklatzke merged 1 commit into
mainfrom
fix/remove-duplicate-setup-uv
Jul 31, 2026
Merged

fix: remove duplicate setup-uv from build action#12
andrewklatzke merged 1 commit into
mainfrom
fix/remove-duplicate-setup-uv

Conversation

@andrewklatzke

Copy link
Copy Markdown
Contributor

Summary

The build action (/.github/actions/build) included its own astral-sh/setup-uv@v5 step, but every job that uses the build action also uses the CI action first — which already runs setup-uv. The second setup-uv invocation fails at "Activating python venv..." because the venv is already set up.

This removes setup-uv, uv lock, and uv sync from the build action entirely, leaving only the uv build step. The CI action handles all setup.

Root cause

Activating python venv...
Error: The process '/opt/hostedtoolcache/uv/0.12.1/x86_64/uv' failed with exit code 2

The build action is always preceded by the CI action in every job.
Running setup-uv a second time fails when trying to activate a
venv that already exists. Removed setup-uv, uv lock, and uv sync
from the build action since CI already handles all three.

Co-authored-by: Cursor <cursoragent@cursor.com>
@andrewklatzke
andrewklatzke merged commit c465e5e into main Jul 31, 2026
7 checks passed
@andrewklatzke
andrewklatzke deleted the fix/remove-duplicate-setup-uv branch July 31, 2026 23:02
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