Skip to content

Commit 9dd039c

Browse files
committed
Make: Bump third-party GitHub Actions to current latest
Eliminates the runner's `Node.js 20 actions are deprecated` warning that fired on every job using `actions/setup-python@v5.x`, `actions/setup-node@v5`, `swift-actions/setup-swift@v2.3.0`, and `actions/checkout@v5`. Same time, refresh every other third-party action where a newer version exists. Bumped: - actions/checkout v5 -> v6 - actions/setup-python v5.2.0/v5.6.0 -> v6.2.0 - actions/setup-node v5 -> v6 - actions/upload-artifact v4 -> v7 - actions/download-artifact v4 -> v8 - docker/setup-qemu-action v3 -> v4 - swift-actions/setup-swift v2.3.0 -> v2.4.0 - Jimver/cuda-toolkit v0.2.26 -> v0.2.35 - pypa/cibuildwheel 2.21.3 -> 3.4.1 - ashvardanian/tinysemver v2.1.1 -> v3.0.1 Left at moving major tags that already point at latest: `actions/setup-go@v6`, `dtolnay/rust-toolchain@stable`, `pypa/gh-action-pypi-publish@release/v1`, `katyo/publish-crates@v2`, `xresloader/upload-to-github-release@v1`, `CasperWA/push-protected@v2`, `ilammy/msvc-dev-cmd@v1`. cibuildwheel jumps a major version (2.x -> 3.x). Manylinux defaults moved closer to what the CUDA wheel already explicitly pins via `pyproject.toml`, so the CUDA build should be insensitive; watch the first run.
1 parent 534d3f3 commit 9dd039c

2 files changed

Lines changed: 80 additions & 80 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
runs-on: ubuntu-24.04
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@v6
2727
with:
2828
fetch-depth: 0
2929
persist-credentials: false
3030
- name: Run TinySemVer
31-
uses: ashvardanian/tinysemver@v2.1.1
31+
uses: ashvardanian/tinysemver@v3.0.1
3232
with:
3333
verbose: "true"
3434
version-file: "VERSION"
@@ -56,7 +56,7 @@ jobs:
5656
CXX: g++-12
5757

5858
steps:
59-
- uses: actions/checkout@v5
59+
- uses: actions/checkout@v6
6060
with:
6161
submodules: recursive
6262

@@ -141,7 +141,7 @@ jobs:
141141

142142
# Python
143143
- name: Set up Python ${{ env.PYTHON_VERSION }}
144-
uses: actions/setup-python@v5.6.0
144+
uses: actions/setup-python@v6.2.0
145145
with:
146146
python-version: ${{ env.PYTHON_VERSION }}
147147
- name: Build Python
@@ -163,7 +163,7 @@ jobs:
163163

164164
# JavaScript
165165
- name: Set up Node.js
166-
uses: actions/setup-node@v5
166+
uses: actions/setup-node@v6
167167
with:
168168
node-version: 20
169169
- name: Build and test JavaScript
@@ -185,7 +185,7 @@ jobs:
185185
CXX: clang++-16
186186

187187
steps:
188-
- uses: actions/checkout@v5
188+
- uses: actions/checkout@v6
189189
with:
190190
submodules: recursive
191191

@@ -261,7 +261,7 @@ jobs:
261261

262262
# Python
263263
- name: Set up Python ${{ env.PYTHON_VERSION }}
264-
uses: actions/setup-python@v5.6.0
264+
uses: actions/setup-python@v6.2.0
265265
with:
266266
python-version: ${{ env.PYTHON_VERSION }}
267267
- name: Build Python
@@ -288,7 +288,7 @@ jobs:
288288
# Swift
289289
# Fails due to: https://github.com/swift-actions/setup-swift/issues/591
290290
# - name: Set up Swift ${{ env.SWIFT_VERSION }}
291-
# uses: swift-actions/setup-swift@v2.3.0
291+
# uses: swift-actions/setup-swift@v2.4.0
292292
# with:
293293
# swift-version: ${{ env.SWIFT_VERSION }}
294294
# - name: Build Swift
@@ -304,7 +304,7 @@ jobs:
304304
CXX: g++-12
305305

306306
steps:
307-
- uses: actions/checkout@v5
307+
- uses: actions/checkout@v6
308308
with:
309309
submodules: recursive
310310

@@ -351,7 +351,7 @@ jobs:
351351

352352
# Python StringZillas-CPUs
353353
- name: Set up Python ${{ env.PYTHON_VERSION }}
354-
uses: actions/setup-python@v5.6.0
354+
uses: actions/setup-python@v6.2.0
355355
with:
356356
python-version: ${{ env.PYTHON_VERSION }}
357357
# Ensure modern build backend is available for editable installs
@@ -384,13 +384,13 @@ jobs:
384384
CXX: g++-12
385385

386386
steps:
387-
- uses: actions/checkout@v5
387+
- uses: actions/checkout@v6
388388
with:
389389
submodules: recursive
390390

391391
# Install CUDA Toolkit
392392
- name: Install CUDA Toolkit
393-
uses: Jimver/cuda-toolkit@v0.2.26
393+
uses: Jimver/cuda-toolkit@v0.2.35
394394
with:
395395
cuda: "12.9.1"
396396
method: "network"
@@ -446,7 +446,7 @@ jobs:
446446

447447
# Python StringZillas-CUDA
448448
- name: Set up Python ${{ env.PYTHON_VERSION }}
449-
uses: actions/setup-python@v5.6.0
449+
uses: actions/setup-python@v6.2.0
450450
with:
451451
python-version: ${{ env.PYTHON_VERSION }}
452452
# Ensure modern build backend is available for editable installs
@@ -478,7 +478,7 @@ jobs:
478478
runs-on: ubuntu-22.04
479479
container: swift:latest
480480
steps:
481-
- uses: actions/checkout@v5
481+
- uses: actions/checkout@v6
482482
with:
483483
submodules: recursive
484484

@@ -522,7 +522,7 @@ jobs:
522522
RANLIB: llvm-ranlib-16
523523

524524
steps:
525-
- uses: actions/checkout@v5
525+
- uses: actions/checkout@v6
526526
with:
527527
submodules: recursive
528528

@@ -575,7 +575,7 @@ jobs:
575575
runs-on: macos-14
576576

577577
steps:
578-
- uses: actions/checkout@v5
578+
- uses: actions/checkout@v6
579579
with:
580580
submodules: recursive
581581

@@ -619,7 +619,7 @@ jobs:
619619

620620
# Python
621621
- name: Set up Python ${{ env.PYTHON_VERSION }}
622-
uses: actions/setup-python@v5.6.0
622+
uses: actions/setup-python@v6.2.0
623623
with:
624624
python-version: ${{ env.PYTHON_VERSION }}
625625
- name: Build Python
@@ -634,7 +634,7 @@ jobs:
634634

635635
# Swift
636636
- name: Set up Swift ${{ env.SWIFT_VERSION }}
637-
uses: swift-actions/setup-swift@v2.3.0
637+
uses: swift-actions/setup-swift@v2.4.0
638638
with:
639639
swift-version: ${{ env.SWIFT_VERSION }}
640640
- name: Build Swift
@@ -658,7 +658,7 @@ jobs:
658658
- os: windows-11-arm
659659
arch: arm64
660660
steps:
661-
- uses: actions/checkout@v5
661+
- uses: actions/checkout@v6
662662
with:
663663
submodules: recursive
664664
- uses: ilammy/msvc-dev-cmd@v1
@@ -709,7 +709,7 @@ jobs:
709709

710710
# Python
711711
- name: Set up Python ${{ env.PYTHON_VERSION }}
712-
uses: actions/setup-python@v5.6.0
712+
uses: actions/setup-python@v6.2.0
713713
with:
714714
python-version: ${{ env.PYTHON_VERSION }}
715715
- name: Build Python
@@ -736,7 +736,7 @@ jobs:
736736
run: |
737737
echo "Alpine: $(cat /etc/alpine-release 2>/dev/null || echo 'unknown')"
738738
git --version || echo "git not installed"
739-
- uses: actions/checkout@v5
739+
- uses: actions/checkout@v6
740740
with:
741741
submodules: recursive
742742

@@ -796,20 +796,20 @@ jobs:
796796
os: [ubuntu-24.04, macos-15, windows-2022]
797797
python-version: ["38", "39", "310", "311", "312", "313"]
798798
steps:
799-
- uses: actions/checkout@v5
799+
- uses: actions/checkout@v6
800800
with:
801801
submodules: recursive
802802
- name: Set up Python
803-
uses: actions/setup-python@v5.6.0
803+
uses: actions/setup-python@v6.2.0
804804
with:
805805
python-version: 3.x
806806

807807
# We only need QEMU for Linux builds
808808
- name: Setup QEMU
809809
if: matrix.os == 'ubuntu-24.04'
810-
uses: docker/setup-qemu-action@v3
810+
uses: docker/setup-qemu-action@v4
811811
- name: Install cibuildwheel
812-
run: python -m pip install cibuildwheel==2.21.3
812+
run: python -m pip install cibuildwheel==3.4.1
813813
- name: Build wheels
814814
run: cibuildwheel --output-dir wheelhouse
815815
env:

0 commit comments

Comments
 (0)