Skip to content

Commit 5275f24

Browse files
committed
CI: Synchronize caching and setup between "on-pr" vs. "nightly" jobs
1 parent 5d0b718 commit 5275f24

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ jobs:
3535
uses: astral-sh/setup-uv@v6
3636
with:
3737
cache-dependency-glob: |
38-
setup.py
38+
pyproject.toml
3939
cache-suffix: ${{ matrix.python-version }}
4040
enable-cache: true
4141
version: "latest"
4242

43+
- name: Setup env
44+
run: uv sync
45+
4346
- name: Invoke tests
4447
run: |
4548

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@ jobs:
4949
- name: Set up uv
5050
uses: astral-sh/setup-uv@v6
5151
with:
52+
cache-dependency-glob: |
53+
pyproject.toml
5254
cache-suffix: ${{ matrix.python-version }}
5355
enable-cache: true
5456
version: "latest"
57+
5558
- name: Setup env
5659
run: uv sync
60+
5761
- name: Invoke tests
5862
run: |
5963

0 commit comments

Comments
 (0)