From c3cf955b9166ab78b4b0e32d9b9421ef92423dc9 Mon Sep 17 00:00:00 2001 From: Jair Henrique Date: Sun, 23 Mar 2025 16:55:55 -0300 Subject: [PATCH] Use uv on CI --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a2116e7..fe2ec5be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,8 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v5 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 @@ -47,9 +49,9 @@ jobs: - name: Install project dependencies run: | - pip install --upgrade pip setuptools - pip install codecov '.[tests]' '${{ matrix.urllib3-requirement }}' - pip check + uv pip install --system --upgrade pip setuptools + uv pip install --system codecov '.[tests]' '${{ matrix.urllib3-requirement }}' + uv pip check - name: Allow creation of user namespaces (e.g. to the unshare command) run: |