From 345b759fff8a47f8c16dc924484a2768bd6490e9 Mon Sep 17 00:00:00 2001 From: bridge Date: Wed, 7 Jan 2026 22:46:08 +0800 Subject: [PATCH] use uv instead pip in github actions --- .github/workflows/test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ab7460..975c4f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,13 +17,16 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.11" - cache: "pip" + + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + enable-cache: true - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install pytest + uv pip install --system -r requirements.txt + uv pip install --system pytest - name: Run tests run: pytest -v