Skip to content

Commit 4e4fb65

Browse files
committed
bump actions versions
1 parent 2a84d93 commit 4e4fb65

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Cache Clang
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
id: cache-clang
3636
with:
3737
path: C:\Program Files\LLVM
@@ -60,15 +60,15 @@ jobs:
6060
steps:
6161
- name: Restore Clang Cache
6262
if: startswith(matrix.preset, 'clang')
63-
uses: actions/cache/restore@v3
63+
uses: actions/cache/restore@v4
6464
with:
6565
path: C:\Program Files\LLVM
6666
key: ${{ runner.os }}-clang-${{ env.CLANG_VERSION }}
6767
fail-on-cache-miss: true
6868

6969
- name: Add MSVC to PATH
7070
if: startswith(matrix.preset, 'msvc')
71-
uses: TheMrMilchmann/setup-msvc-dev@v2
71+
uses: TheMrMilchmann/setup-msvc-dev@v3
7272
with:
7373
arch: x64
7474

@@ -78,12 +78,12 @@ jobs:
7878
# We only actually need this python version to run the download script, we're not going to link
7979
# against it, so don't need to specify arch
8080
- name: Setup Python
81-
uses: actions/setup-python@v4
81+
uses: actions/setup-python@v5
8282
with:
8383
python-version: ">=3.11"
8484

8585
- name: Checkout repository and submodules
86-
uses: actions/checkout@v3
86+
uses: actions/checkout@v4
8787
with:
8888
submodules: recursive
8989

@@ -116,7 +116,7 @@ jobs:
116116
117117
- name: Upload Artifact
118118
if: inputs.new-release-tag == '' || startswith(matrix.preset, 'msvc')
119-
uses: actions/upload-artifact@v3
119+
uses: actions/upload-artifact@v4
120120
with:
121121
name: ${{ matrix.preset }}
122122
path: "*.zip"
@@ -140,7 +140,7 @@ jobs:
140140
uses: lukka/get-cmake@latest
141141

142142
- name: Setup Python
143-
uses: actions/setup-python@v4
143+
uses: actions/setup-python@v5
144144
with:
145145
python-version: ">=3.11"
146146

@@ -192,7 +192,7 @@ jobs:
192192
# xwin does take long enough that caching's worth it
193193
- name: Restore xwin cache
194194
if: contains(matrix.preset, 'cross')
195-
uses: actions/cache@v3
195+
uses: actions/cache@v4
196196
id: cache-xwin
197197
with:
198198
path: ~/xwin
@@ -211,7 +211,7 @@ jobs:
211211
--output ~/xwin
212212
213213
- name: Checkout repository and submodules
214-
uses: actions/checkout@v3
214+
uses: actions/checkout@v4
215215
with:
216216
submodules: recursive
217217

@@ -241,7 +241,7 @@ jobs:
241241

242242
- name: Upload Artifact
243243
if: inputs.new-release-tag == ''
244-
uses: actions/upload-artifact@v3
244+
uses: actions/upload-artifact@v4
245245
with:
246246
name: ${{ matrix.preset }}
247247
path: "*.zip"
@@ -260,7 +260,7 @@ jobs:
260260

261261
steps:
262262
- name: Restore Clang Cache
263-
uses: actions/cache/restore@v3
263+
uses: actions/cache/restore@v4
264264
with:
265265
path: C:\Program Files\LLVM
266266
key: ${{ runner.os }}-clang-${{ env.CLANG_VERSION }}
@@ -270,12 +270,12 @@ jobs:
270270
uses: lukka/get-cmake@latest
271271

272272
- name: Setup Python
273-
uses: actions/setup-python@v4
273+
uses: actions/setup-python@v5
274274
with:
275275
python-version: ">=3.11"
276276

277277
- name: Checkout repository and submodules
278-
uses: actions/checkout@v3
278+
uses: actions/checkout@v4
279279
with:
280280
submodules: recursive
281281

@@ -322,14 +322,14 @@ jobs:
322322

323323
steps:
324324
- name: Restore Clang Cache
325-
uses: actions/cache/restore@v3
325+
uses: actions/cache/restore@v4
326326
with:
327327
path: C:\Program Files\LLVM
328328
key: ${{ runner.os }}-clang-${{ env.CLANG_VERSION }}
329329
fail-on-cache-miss: true
330330

331331
- name: Checkout repository
332-
uses: actions/checkout@v3
332+
uses: actions/checkout@v4
333333

334334
- name: Run clang-format
335335
run: |
@@ -347,7 +347,7 @@ jobs:
347347

348348
steps:
349349
- name: Checkout repository
350-
uses: actions/checkout@v3
350+
uses: actions/checkout@v4
351351

352352
- name: Check spelling
353353
uses: crate-ci/typos@master
@@ -357,12 +357,12 @@ jobs:
357357

358358
steps:
359359
- name: Checkout repository and submodules
360-
uses: actions/checkout@v3
360+
uses: actions/checkout@v4
361361
with:
362362
submodules: recursive
363363

364364
- name: Run pyright
365-
uses: jakebailey/pyright-action@v1
365+
uses: jakebailey/pyright-action@v2
366366
with:
367367
pylance-version: latest-release
368368
working-directory: "./src/"
@@ -372,7 +372,7 @@ jobs:
372372

373373
steps:
374374
- name: Checkout repository
375-
uses: actions/checkout@v3
375+
uses: actions/checkout@v4
376376

377377
- name: Run Ruff Linting
378378
uses: chartboost/ruff-action@v1
@@ -408,7 +408,7 @@ jobs:
408408

409409
steps:
410410
- name: Download artifacts
411-
uses: actions/download-artifact@v3
411+
uses: actions/download-artifact@v4
412412

413413
- name: Upload releases
414414
uses: andelf/nightly-release@main
@@ -444,7 +444,7 @@ jobs:
444444

445445
steps:
446446
- name: Checkout repository
447-
uses: actions/checkout@v3
447+
uses: actions/checkout@v4
448448

449449
- name: Download artifacts
450450
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)