Skip to content

Commit

Permalink
Use uv to install our tools
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Feb 17, 2024
1 parent 20db83a commit 4c683c6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ runs:
run: ${{ steps.python-baipp.outputs.python-path }} -Im venv /tmp/baipp
shell: bash

- name: Install uv
run: /tmp/baipp/bin/python -Im pip install uv==0.1.3
shell: bash

- name: Install our tools
run: >
/tmp/baipp/bin/python
-Im pip
--disable-pip-version-check
--no-python-version-warning
install -r ${{ github.action_path }}/requirements/tools.txt
/tmp/baipp/bin/python -Im
uv pip sync
${{ github.action_path }}/requirements/tools.txt
shell: bash

# Build SDist, then build wheel out of it.
Expand Down

0 comments on commit 4c683c6

Please sign in to comment.