Skip to content

Commit 3689fd1

Browse files
jeremyederAmbient Codeclaude
authored
fix(ci): use --allow-existing flag for uv venv (#24)
When the virtual environment cache is restored, the .venv directory already exists, causing `uv venv` to fail. The --allow-existing flag allows uv to reuse or recreate the venv as needed. Co-authored-by: Ambient Code <ambient-code@redhat.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5e4ee66 commit 3689fd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
venv-${{ runner.os }}-
3636
3737
- name: Create virtual environment
38-
run: uv venv
38+
run: uv venv --allow-existing
3939

4040
- name: Install dependencies
4141
run: uv pip install -e ".[dev]"

0 commit comments

Comments
 (0)