Skip to content

Commit 284527b

Browse files
authored
👷 Use uv for Python env to generate client (#1362)
1 parent 6ed7aee commit 284527b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/generate-client.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,18 @@ jobs:
2222
- uses: actions/setup-python@v5
2323
with:
2424
python-version: '3.10'
25+
- name: Install uv
26+
uses: astral-sh/setup-uv@v2
27+
with:
28+
version: "0.4.15"
2529
- name: Install dependencies
2630
run: npm ci
2731
working-directory: frontend
28-
- run: pip install ./backend
29-
- run: bash scripts/generate-client.sh
32+
- run: uv sync
33+
working-directory: backend
34+
- run: uv run bash scripts/generate-client.sh
35+
env:
36+
VIRTUAL_ENV: backend/.venv
3037
- name: Commit changes
3138
run: |
3239
git config --local user.email "[email protected]"
@@ -46,4 +53,3 @@ jobs:
4653
uses: re-actors/alls-green@release/v1
4754
with:
4855
jobs: ${{ toJSON(needs) }}
49-

0 commit comments

Comments
 (0)