Skip to content

Commit

Permalink
use setup-cached-uv in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jab committed Aug 25, 2024
1 parent 4b285a0 commit f48ec26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ jobs:
python-version: '3.12.2'
cache: pip
cache-dependency-path: dev-deps/test.txt
- uses: hynek/setup-cached-uv@4b4bfa932036976749a9653b0fa4fa10b1a7092b
- name: install PyPI dependencies
run: |
python -m pip install -U uv
python -m uv pip install -r dev-deps/test.txt
run: uv pip install -r dev-deps/test.txt
- name: install the version of bidict to benchmark
run: |
git checkout ${{ github.event.inputs.ref || github.sha }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ jobs:
python-version: ${{ matrix.pyversion }}
cache: pip
cache-dependency-path: dev-deps/test.txt
- uses: hynek/setup-cached-uv@4b4bfa932036976749a9653b0fa4fa10b1a7092b
- name: install dependencies
run: |
python -m pip install -U uv
python -m uv pip install -r dev-deps/test.txt
run: uv pip install -r dev-deps/test.txt
- name: cache .mypy_cache dir
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
with:
Expand Down

0 comments on commit f48ec26

Please sign in to comment.