From 249e3fc7a670072f041ef636b76a4d6d49fbdfec Mon Sep 17 00:00:00 2001 From: Ali Abbas Jaffri Date: Thu, 18 Apr 2024 00:43:34 +0200 Subject: [PATCH] Updated github action Signed-off-by: Ali Abbas Jaffri --- .github/actions/setup-python/action.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-python/action.yaml b/.github/actions/setup-python/action.yaml index 5d03912c..0867edb2 100644 --- a/.github/actions/setup-python/action.yaml +++ b/.github/actions/setup-python/action.yaml @@ -23,10 +23,12 @@ runs: - name: Install uv run: | pip install uv + uv venv venv + source venv/bin/activate shell: bash - name: Install dependencies run: | - uv pip install --upgrade pip + uv pip install --upgrade pip && uv pip install pip-tools if [[ "${{ inputs.dependencyType }}" == "dev" ]]; then uv pip install -r requirements-dev.txt elif [[ "${{ inputs.dependencyType }}" == "docs" ]]; then