Skip to content

Commit d0cbdfe

Browse files
committed
Add cache to UV on GHA
1 parent 1ee551a commit d0cbdfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
- uses: actions/setup-python@v5
3636
with: {python-version: "3.10"}
3737
- uses: astral-sh/setup-uv@v5
38+
with: {enable-cache: true}
3839
- name: Run static analysis and format checkers
3940
run: >-
4041
uvx --with tox-uv
@@ -83,6 +84,7 @@ jobs:
8384
with:
8485
python-version: ${{ matrix.python }}
8586
- uses: astral-sh/setup-uv@v5
87+
with: {enable-cache: true}
8688
- name: Retrieve pre-built distribution files
8789
uses: actions/download-artifact@v4
8890
with: {name: python-distribution-files, path: dist/}
@@ -126,6 +128,7 @@ jobs:
126128
- uses: actions/setup-python@v5
127129
with: {python-version: "3.10"}
128130
- uses: astral-sh/setup-uv@v5
131+
with: {enable-cache: true}
129132
- name: Retrieve pre-built distribution files
130133
uses: actions/download-artifact@v4
131134
with: {name: python-distribution-files, path: dist/}

0 commit comments

Comments
 (0)