Skip to content

Commit c02c3fd

Browse files
authored
Merge pull request #90 from zopefoundation/dataflake/upgrade_actions
Upgrade GHA action versions to prevent warnings
2 parents c38a276 + eeb78e1 commit c02c3fd

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT
133133
134134
- name: pip cache (default)
135-
uses: actions/cache@v4
135+
uses: actions/cache@v5
136136
if: ${{ !startsWith(runner.os, 'Windows') }}
137137
with:
138138
path: ${{ steps.pip-cache-default.outputs.dir }}
@@ -141,7 +141,7 @@ jobs:
141141
${{ runner.os }}-pip-
142142
143143
- name: pip cache (Windows)
144-
uses: actions/cache@v4
144+
uses: actions/cache@v5
145145
if: ${{ startsWith(runner.os, 'Windows') }}
146146
with:
147147
path: ${{ steps.pip-cache-windows.outputs.dir }}
@@ -217,7 +217,7 @@ jobs:
217217
- name: Upload ExtensionClass wheel (macOS x86_64)
218218
if: >
219219
startsWith(runner.os, 'Mac')
220-
uses: actions/upload-artifact@v4
220+
uses: actions/upload-artifact@v7
221221
with:
222222
# The x86_64 wheel is uploaded with a different name just so it can be
223223
# manually downloaded when desired. The wheel itself *cannot* be tested
@@ -228,14 +228,14 @@ jobs:
228228
if: >
229229
startsWith(runner.os, 'Mac')
230230
&& !startsWith(matrix.python-version, 'pypy')
231-
uses: actions/upload-artifact@v4
231+
uses: actions/upload-artifact@v7
232232
with:
233233
name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl
234234
path: dist/*arm64.whl
235235
- name: Upload ExtensionClass wheel (all other platforms)
236236
if: >
237237
!startsWith(runner.os, 'Mac')
238-
uses: actions/upload-artifact@v4
238+
uses: actions/upload-artifact@v7
239239
with:
240240
name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl
241241
path: dist/*whl
@@ -291,7 +291,7 @@ jobs:
291291
echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT
292292
293293
- name: pip cache (default)
294-
uses: actions/cache@v4
294+
uses: actions/cache@v5
295295
if: ${{ !startsWith(runner.os, 'Windows') }}
296296
with:
297297
path: ${{ steps.pip-cache-default.outputs.dir }}
@@ -300,7 +300,7 @@ jobs:
300300
${{ runner.os }}-pip-
301301
302302
- name: pip cache (Windows)
303-
uses: actions/cache@v4
303+
uses: actions/cache@v5
304304
if: ${{ startsWith(runner.os, 'Windows') }}
305305
with:
306306
path: ${{ steps.pip-cache-windows.outputs.dir }}
@@ -309,7 +309,7 @@ jobs:
309309
${{ runner.os }}-pip-
310310
311311
- name: Download ExtensionClass wheel
312-
uses: actions/download-artifact@v4
312+
uses: actions/download-artifact@v8
313313
with:
314314
name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl
315315
path: dist/
@@ -407,7 +407,7 @@ jobs:
407407
echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT
408408
409409
- name: pip cache (default)
410-
uses: actions/cache@v4
410+
uses: actions/cache@v5
411411
if: ${{ !startsWith(runner.os, 'Windows') }}
412412
with:
413413
path: ${{ steps.pip-cache-default.outputs.dir }}
@@ -416,7 +416,7 @@ jobs:
416416
${{ runner.os }}-pip-
417417
418418
- name: pip cache (Windows)
419-
uses: actions/cache@v4
419+
uses: actions/cache@v5
420420
if: ${{ startsWith(runner.os, 'Windows') }}
421421
with:
422422
path: ${{ steps.pip-cache-windows.outputs.dir }}
@@ -425,7 +425,7 @@ jobs:
425425
${{ runner.os }}-pip-
426426
427427
- name: Download ExtensionClass wheel
428-
uses: actions/download-artifact@v4
428+
uses: actions/download-artifact@v8
429429
with:
430430
name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl
431431
path: dist/
@@ -485,7 +485,7 @@ jobs:
485485
echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT
486486
487487
- name: pip cache (default)
488-
uses: actions/cache@v4
488+
uses: actions/cache@v5
489489
if: ${{ !startsWith(runner.os, 'Windows') }}
490490
with:
491491
path: ${{ steps.pip-cache-default.outputs.dir }}
@@ -494,7 +494,7 @@ jobs:
494494
${{ runner.os }}-pip-
495495
496496
- name: pip cache (Windows)
497-
uses: actions/cache@v4
497+
uses: actions/cache@v5
498498
if: ${{ startsWith(runner.os, 'Windows') }}
499499
with:
500500
path: ${{ steps.pip-cache-windows.outputs.dir }}
@@ -523,7 +523,7 @@ jobs:
523523
bash .manylinux.sh
524524
525525
- name: Upload ExtensionClass wheels
526-
uses: actions/upload-artifact@v4
526+
uses: actions/upload-artifact@v7
527527
with:
528528
path: wheelhouse/*whl
529529
name: manylinux_${{ matrix.image }}_wheels.zip
@@ -550,7 +550,7 @@ jobs:
550550

551551
steps:
552552
- name: Download all wheel artifacts
553-
uses: actions/download-artifact@v4
553+
uses: actions/download-artifact@v8
554554
with:
555555
path: dist/
556556
pattern: '*'

.meta.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code
33
[meta]
44
template = "c-code"
5-
commit-id = "2dc4f53b"
5+
commit-id = "0dcd78fe"
66

77
[python]
88
with-windows = true

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ repos:
2020
rev: 0.4.3
2121
hooks:
2222
- id: teyit
23+
language_version: python3.13
2324
- repo: https://github.com/PyCQA/flake8
2425
rev: "7.3.0"
2526
hooks:

0 commit comments

Comments
 (0)