Skip to content

Commit 13abe72

Browse files
committed
Cache cibuildwheel interpreters and let dependabot update GitHub Actions
Port two CI maintenance changes from the simplification repo: - Persist CIBW_CACHE_PATH via actions/cache so the per-version CPython downloads are reused between builds instead of re-fetched every run. - Remove the dependabot ignore rule for actions/*, so cross-major bumps (which moving major tags do not track) are proposed under the existing github-actions group.
1 parent cddccf5 commit 13abe72

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7-
ignore:
8-
# Optional: Official actions have moving tags like v1;
9-
# if you use those, you don't need updates.
10-
- dependency-name: "actions/*"
117

128
- package-ecosystem: "uv"
139
directory: "/"

.github/workflows/wheels.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,16 @@ jobs:
110110
with:
111111
version: "latest"
112112

113+
- name: Cache cibuildwheel interpreters
114+
uses: actions/cache@v5
115+
with:
116+
path: ${{ github.workspace }}/.cibw-cache
117+
key: cibw-${{ matrix.id }}-${{ hashFiles('.github/workflows/wheels.yml') }}
118+
113119
- name: Build and Test Wheels
114120
uses: pypa/cibuildwheel@v3.4.1
115121
env:
122+
CIBW_CACHE_PATH: ${{ github.workspace }}/.cibw-cache
116123
CIBW_BUILD: ${{ matrix.pybuilds }}
117124
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
118125
CIBW_ARCHS_LINUX: ${{ matrix.arch }}

0 commit comments

Comments
 (0)