From 4c683c691b55837897bfa3b94f5fda4a4d63a356 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 17 Feb 2024 11:01:05 +0100 Subject: [PATCH] Use uv to install our tools --- action.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 003d63f..6ab08e2 100644 --- a/action.yml +++ b/action.yml @@ -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.