Skip to content

Commit e58e507

Browse files
committed
Remove pip caching; configure uv cache
1 parent 43d1011 commit e58e507

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/unit_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ jobs:
2929
- uses: actions/checkout@v3
3030

3131
# use github python action instead of uv to take advantage of caching
32-
- name: Set up Python ${{ matrix.python-version }}
32+
- name: Set up Python ${{ matrix.python }}
3333
uses: actions/setup-python@v4
3434
with:
3535
python-version: ${{ matrix.python }}
36-
cache: 'pip'
37-
cache-dependency-path: '**/pyproject.toml'
3836

3937
- name: Install uv
4038
uses: astral-sh/setup-uv@v5
39+
with:
40+
enable-cache: true
41+
cache-dependency-glob: "pyproject.toml"
4142

4243
- name: Install package with dependencies
4344
run: uv sync --all-extras --dev

0 commit comments

Comments
 (0)