From 5230a8a2100eff7599a09c77e9dbe5c0acd410ee Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Tue, 19 Mar 2024 11:49:15 +0100 Subject: [PATCH] Simplify UV install in CI (#113803) --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2bca52fc638..73443306a49 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -243,7 +243,7 @@ jobs: python -m venv venv . venv/bin/activate python --version - pip install "$(cat requirements_test.txt | grep uv)" + pip install "$(grep '^uv' < requirements_test.txt)" uv pip install "$(cat requirements_test.txt | grep pre-commit)" - name: Restore pre-commit environment from cache id: cache-precommit @@ -493,7 +493,7 @@ jobs: python -m venv venv . venv/bin/activate python --version - pip install "$(cat requirements_test.txt | grep uv)" + pip install "$(grep '^uv' < requirements_test.txt)" uv pip install -U "pip>=21.3.1" setuptools wheel uv pip install -r requirements_all.txt uv pip install -r requirements_test.txt