Skip to content

Commit ecdd07f

Browse files
committed
Build: Upgrade build tools.
1 parent b8f23b7 commit ecdd07f

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
- ubuntu-latest
1616
- macos-latest
1717
python-version:
18-
- "3.14-dev"
18+
- "3.15-dev"
19+
- "3.14"
1920
- "3.13"
2021
- "3.12"
2122
- "3.11"
@@ -60,13 +61,13 @@ jobs:
6061
LUPA_WITH_LUA_DLOPEN: ${{ startsWith(matrix.os, 'windows') && 'false' || 'true' }}
6162

6263
steps:
63-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v5
6465

6566
- name: Check out recursively
6667
run: git submodule update --init --recursive
6768

6869
- name: Set up Python ${{ matrix.python-version }}
69-
uses: actions/setup-python@v5
70+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
7071
with:
7172
python-version: ${{ matrix.python-version }}
7273

@@ -81,7 +82,7 @@ jobs:
8182

8283
- name: Setup Visual Studio
8384
if: contains(matrix.os, 'windows')
84-
uses: TheMrMilchmann/setup-msvc-dev@v3
85+
uses: TheMrMilchmann/setup-msvc-dev@v4
8586
with:
8687
arch: x64
8788

.github/workflows/wheels.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,14 @@ jobs:
4242
sdist:
4343
runs-on: ubuntu-latest
4444

45-
permissions:
46-
contents: write # to create GitHub release (softprops/action-gh-release)
47-
4845
steps:
49-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
46+
- uses: actions/checkout@v5
5047

5148
- name: Check out recursively
5249
run: git submodule update --init --recursive
5350

5451
- name: Set up Python
55-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
52+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5653
with:
5754
python-version: "3.x"
5855

@@ -63,7 +60,7 @@ jobs:
6360
run: make sdist
6461

6562
- name: Upload sdist
66-
uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
63+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6764
with:
6865
name: sdist
6966
path: dist/*.tar.gz
@@ -77,10 +74,12 @@ jobs:
7774
outputs:
7875
include: ${{ steps.set-matrix.outputs.include }}
7976
steps:
80-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
77+
- uses: actions/checkout@v5
78+
8179
- name: Install cibuildwheel
8280
# Nb. keep cibuildwheel version pin consistent with job below
83-
run: pipx install cibuildwheel==3.0.0
81+
run: pipx install cibuildwheel==3.2.1
82+
8483
- id: set-matrix
8584
run: |
8685
MATRIX=$(
@@ -112,7 +111,7 @@ jobs:
112111
LUPA_WITH_LUA_DLOPEN: ${{ startsWith(matrix.os, 'windows') && 'false' || 'true' }}
113112

114113
steps:
115-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
114+
- uses: actions/checkout@v5
116115

117116
- name: Check out recursively
118117
run: git submodule update --init --recursive
@@ -131,22 +130,22 @@ jobs:
131130
132131
- name: Setup Visual Studio for x64
133132
if: contains(matrix.os, 'windows') && contains(matrix.only, 'win_amd64')
134-
uses: TheMrMilchmann/setup-msvc-dev@v3
133+
uses: TheMrMilchmann/setup-msvc-dev@v4
135134
with:
136135
arch: x64
137136

138137
- name: Setup Visual Studio for x86
139138
if: contains(matrix.os, 'windows') && contains(matrix.only, 'win32')
140-
uses: TheMrMilchmann/setup-msvc-dev@v3
139+
uses: TheMrMilchmann/setup-msvc-dev@v4
141140
with:
142141
arch: x86
143142

144143
- name: Build wheels
145-
uses: pypa/cibuildwheel@v3.0.0
144+
uses: pypa/cibuildwheel@v3.2.1
146145
with:
147146
only: ${{ matrix.only }}
148147

149-
- uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
148+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
150149
with:
151150
path: ./wheelhouse/*.whl
152151
name: wheel-${{ matrix.only }}
@@ -162,15 +161,15 @@ jobs:
162161

163162
steps:
164163
- name: Download bdist files
165-
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
164+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
166165
with:
167166
path: ./bdist_downloads
168167
merge-multiple: true
169168

170169
- name: List downloaded artifacts
171170
run: ls -la ./bdist_downloads
172171

173-
- uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
172+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
174173
with:
175174
path: ./bdist_downloads/*.whl
176175
name: wheels
@@ -197,15 +196,15 @@ jobs:
197196
runs-on: ubuntu-22.04
198197

199198
steps:
200-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
199+
- uses: actions/checkout@v5
201200

202201
- name: Check out recursively
203202
run: git submodule update --init --recursive
204203

205204
- name: Set up Python
206-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
205+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
207206
with:
208-
python-version: "3.12"
207+
python-version: "3.x"
209208

210209
- name: Install dependencies
211210
run: python -m pip install -r requirements.txt
@@ -215,7 +214,7 @@ jobs:
215214
env: { PYTHON_BUILD_VERSION: "${{ matrix.pyversion }}" }
216215

217216
- name: Upload wheels
218-
uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
217+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
219218
with:
220219
name: wheels-${{ matrix.image }}
221220
path: wheelhouse_*/*-m*linux*.whl # manylinux / musllinux

0 commit comments

Comments
 (0)