Skip to content

Commit 2b79659

Browse files
committed
ci: Update external action versions
1 parent ed6dfbf commit 2b79659

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
- uses: actions/checkout@v2
4242

4343
- name: Set up Python ${{ matrix.python-version }}
44-
uses: actions/setup-python@v2
44+
uses: actions/setup-python@v4
4545
with:
4646
python-version: ${{ matrix.python-version }}
4747

4848
- name: Cache build
4949
id: build-cache
50-
uses: actions/cache@v2
50+
uses: actions/cache@v3
5151
with:
5252
path: depends/libavif-${{ env.LIBAVIF_VERSION }}
5353
key:
@@ -78,7 +78,7 @@ jobs:
7878
shell: pwsh
7979

8080
- name: Upload errors
81-
uses: actions/upload-artifact@v2
81+
uses: actions/upload-artifact@v3
8282
if: failure()
8383
with:
8484
name: errors

.github/workflows/wheels.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176
path: multibuild
177177
ref: ${{ matrix.multibuild-sha }}
178178

179-
- uses: actions/setup-python@v2
179+
- uses: actions/setup-python@v4
180180
with:
181181
python-version: 3.9
182182

@@ -189,14 +189,14 @@ jobs:
189189

190190
- name: Cache build
191191
id: build-cache
192-
uses: actions/cache@v2
192+
uses: actions/cache@v3
193193
with:
194194
path: pillow-avif-plugin/depends/libavif-${{ env.LIBAVIF_VERSION }}
195195
key:
196196
${{ env.LIBAVIF_VERSION }}-${{ hashFiles('pillow-avif-plugin/wheelbuild/*.sh', 'pillow-avif-plugin/.github/workflows/wheels.yml', 'pillow-avif-plugin/depends/*') }}-${{ matrix.os }}-${{ matrix.platform }}
197197

198198
- name: Cache ccache/sccache
199-
uses: actions/cache@v2
199+
uses: actions/cache@v3
200200
with:
201201
path: |
202202
ccache
@@ -216,7 +216,7 @@ jobs:
216216
sudo chown -R $(whoami):$(id -ng) ccache ||:
217217
sudo chown -R $(whoami):$(id -ng) sccache ||:
218218
219-
- uses: actions/upload-artifact@v2
219+
- uses: actions/upload-artifact@v3
220220
with:
221221
name: wheels
222222
path: wheelhouse/*.whl
@@ -247,7 +247,7 @@ jobs:
247247
path: winbuild\depends
248248

249249
- name: Cache pip
250-
uses: actions/cache@v2
250+
uses: actions/cache@v3
251251
with:
252252
path: ~\AppData\Local\pip\Cache
253253
key:
@@ -258,7 +258,7 @@ jobs:
258258
259259
# sets env: pythonLocation
260260
- name: Set up Python
261-
uses: actions/setup-python@v2
261+
uses: actions/setup-python@v4
262262
with:
263263
python-version: ${{ matrix.python-version }}
264264
architecture: ${{ matrix.architecture }}
@@ -281,7 +281,7 @@ jobs:
281281

282282
- name: Cache build
283283
id: build-cache
284-
uses: actions/cache@v2
284+
uses: actions/cache@v3
285285
with:
286286
path: winbuild\build
287287
key:
@@ -349,7 +349,7 @@ jobs:
349349
shell: pwsh
350350

351351
- name: Upload errors
352-
uses: actions/upload-artifact@v2
352+
uses: actions/upload-artifact@v3
353353
if: failure()
354354
with:
355355
name: errors
@@ -361,7 +361,7 @@ jobs:
361361
shell: pwsh
362362

363363
- name: Upload coverage
364-
uses: codecov/codecov-action@v1
364+
uses: codecov/codecov-action@v3
365365
with:
366366
file: ./coverage.xml
367367
flags: GHA_Windows
@@ -375,7 +375,7 @@ jobs:
375375
winbuild\\build\\build_pillow_avif_plugin.cmd bdist_wheel
376376
shell: cmd
377377

378-
- uses: actions/upload-artifact@v2
378+
- uses: actions/upload-artifact@v3
379379
if: "github.event_name == 'push'"
380380
with:
381381
name: wheels
@@ -395,7 +395,7 @@ jobs:
395395
if: "startsWith(github.ref, 'refs/tags/')"
396396
needs: [build, windows]
397397
steps:
398-
- uses: actions/download-artifact@v2
398+
- uses: actions/download-artifact@v3
399399
with:
400400
name: wheels
401401

0 commit comments

Comments
 (0)