Add uv to PATH after install in CI

The uv installer places the binary in ~/.local/bin which isn't on
PATH by default in the act runner. Source the env file for the current
step and append to GITHUB_PATH for subsequent steps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-21 16:32:51 +01:00
parent f6bcb1fbe5
commit b50e9160ba
2 changed files with 4 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
--- ---
# nuzlocke-tracker-wtbk # nuzlocke-tracker-wtbk
title: Fix CI workflow failures for backend and e2e tests title: Fix CI workflow failures for backend and e2e tests
status: in-progress status: completed
type: bug type: bug
priority: normal priority: normal
created_at: 2026-02-21T15:26:22Z created_at: 2026-02-21T15:26:22Z
updated_at: 2026-02-21T15:27:40Z updated_at: 2026-02-21T15:29:08Z
--- ---
Two failures in CI: Two failures in CI:

View File

@@ -45,6 +45,8 @@ jobs:
- name: Install uv and Python - name: Install uv and Python
run: | run: |
curl -LsSf https://astral.sh/uv/install.sh | sh curl -LsSf https://astral.sh/uv/install.sh | sh
source "$HOME/.local/bin/env"
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
uv python install 3.14 uv python install 3.14
- name: Install dependencies - name: Install dependencies
run: uv pip install --system --python 3.14 -e ".[dev]" run: uv pip install --system --python 3.14 -e ".[dev]"