Skip to content

Commit

Permalink
ci: Replace pip with uv in build
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Aug 4, 2024
1 parent 092bf68 commit 8f6d079
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@ jobs:
cache: 'pip'
cache-dependency-path: "requirements.lock"

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Install Python dependencies
run: pip install -r requirements.lock
run: uv pip sync -r requirements.lock
env:
UV_SYSTEM_PYTHON: 1

- name: Build site
run: |
Expand Down

0 comments on commit 8f6d079

Please sign in to comment.