Skip to content

Commit

Permalink
ci: test-future - use uv for cache and pip install as well
Browse files Browse the repository at this point in the history
Signed-off-by: CJ Steiner <[email protected]>
  • Loading branch information
clintonsteiner committed Jan 7, 2025
1 parent 55a7bf4 commit dd9dcf8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test-future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: |
**/setup.cfg
**/pyproject.toml
- name: Install dependencies
run: |
# strict dependency resolution added in pip 20.3
# CVE-2021-3572 fixed in pip 21.1
python -m pip install --upgrade 'pip>=21.1'
pip install \
uv pip install --system --upgrade 'pip>=21.1'
uv pip install \
--constraint=constraints-future.txt \
--upgrade \
--upgrade-strategy=eager \
Expand Down

0 comments on commit dd9dcf8

Please sign in to comment.