@@ -39,17 +39,17 @@ jobs:
39
39
if : ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }}
40
40
runs-on : ubuntu-latest
41
41
steps :
42
- - uses : actions/checkout@v4
42
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
43
43
with :
44
44
submodules : recursive
45
45
persist-credentials : false
46
- - uses : actions/setup-python@v5
46
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
47
47
with :
48
48
python-version : ${{ env.PYTHON_VERSION }}
49
49
- name : " Prep README.md"
50
50
run : python scripts/transform_readme.py --target pypi
51
51
- name : " Build sdist"
52
- uses : PyO3/maturin-action@v1
52
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
53
53
with :
54
54
command : sdist
55
55
args : --out dist
59
59
"${MODULE_NAME}" --help
60
60
python -m "${MODULE_NAME}" --help
61
61
- name : " Upload sdist"
62
- uses : actions/upload-artifact@v4
62
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
63
63
with :
64
64
name : wheels-sdist
65
65
path : dist
@@ -68,23 +68,23 @@ jobs:
68
68
if : ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }}
69
69
runs-on : macos-14
70
70
steps :
71
- - uses : actions/checkout@v4
71
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
72
72
with :
73
73
submodules : recursive
74
74
persist-credentials : false
75
- - uses : actions/setup-python@v5
75
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
76
76
with :
77
77
python-version : ${{ env.PYTHON_VERSION }}
78
78
architecture : x64
79
79
- name : " Prep README.md"
80
80
run : python scripts/transform_readme.py --target pypi
81
81
- name : " Build wheels - x86_64"
82
- uses : PyO3/maturin-action@v1
82
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
83
83
with :
84
84
target : x86_64
85
85
args : --release --locked --out dist
86
86
- name : " Upload wheels"
87
- uses : actions/upload-artifact@v4
87
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
88
88
with :
89
89
name : wheels-macos-x86_64
90
90
path : dist
99
99
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
100
100
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
101
101
- name : " Upload binary"
102
- uses : actions/upload-artifact@v4
102
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
103
103
with :
104
104
name : artifacts-macos-x86_64
105
105
path : |
@@ -110,18 +110,18 @@ jobs:
110
110
if : ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }}
111
111
runs-on : macos-14
112
112
steps :
113
- - uses : actions/checkout@v4
113
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
114
114
with :
115
115
submodules : recursive
116
116
persist-credentials : false
117
- - uses : actions/setup-python@v5
117
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
118
118
with :
119
119
python-version : ${{ env.PYTHON_VERSION }}
120
120
architecture : arm64
121
121
- name : " Prep README.md"
122
122
run : python scripts/transform_readme.py --target pypi
123
123
- name : " Build wheels - aarch64"
124
- uses : PyO3/maturin-action@v1
124
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
125
125
with :
126
126
target : aarch64
127
127
args : --release --locked --out dist
@@ -131,7 +131,7 @@ jobs:
131
131
ruff --help
132
132
python -m ruff --help
133
133
- name : " Upload wheels"
134
- uses : actions/upload-artifact@v4
134
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
135
135
with :
136
136
name : wheels-aarch64-apple-darwin
137
137
path : dist
@@ -146,7 +146,7 @@ jobs:
146
146
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
147
147
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
148
148
- name : " Upload binary"
149
- uses : actions/upload-artifact@v4
149
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
150
150
with :
151
151
name : artifacts-aarch64-apple-darwin
152
152
path : |
@@ -166,18 +166,18 @@ jobs:
166
166
- target : aarch64-pc-windows-msvc
167
167
arch : x64
168
168
steps :
169
- - uses : actions/checkout@v4
169
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
170
170
with :
171
171
submodules : recursive
172
172
persist-credentials : false
173
- - uses : actions/setup-python@v5
173
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
174
174
with :
175
175
python-version : ${{ env.PYTHON_VERSION }}
176
176
architecture : ${{ matrix.platform.arch }}
177
177
- name : " Prep README.md"
178
178
run : python scripts/transform_readme.py --target pypi
179
179
- name : " Build wheels"
180
- uses : PyO3/maturin-action@v1
180
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
181
181
with :
182
182
target : ${{ matrix.platform.target }}
183
183
args : --release --locked --out dist
@@ -192,7 +192,7 @@ jobs:
192
192
"${MODULE_NAME}" --help
193
193
python -m "${MODULE_NAME}" --help
194
194
- name : " Upload wheels"
195
- uses : actions/upload-artifact@v4
195
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
196
196
with :
197
197
name : wheels-${{ matrix.platform.target }}
198
198
path : dist
@@ -203,7 +203,7 @@ jobs:
203
203
7z a $ARCHIVE_FILE ./target/${{ matrix.platform.target }}/release/ruff.exe
204
204
sha256sum $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
205
205
- name : " Upload binary"
206
- uses : actions/upload-artifact@v4
206
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
207
207
with :
208
208
name : artifacts-${{ matrix.platform.target }}
209
209
path : |
@@ -219,18 +219,18 @@ jobs:
219
219
- x86_64-unknown-linux-gnu
220
220
- i686-unknown-linux-gnu
221
221
steps :
222
- - uses : actions/checkout@v4
222
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
223
223
with :
224
224
submodules : recursive
225
225
persist-credentials : false
226
- - uses : actions/setup-python@v5
226
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
227
227
with :
228
228
python-version : ${{ env.PYTHON_VERSION }}
229
229
architecture : x64
230
230
- name : " Prep README.md"
231
231
run : python scripts/transform_readme.py --target pypi
232
232
- name : " Build wheels"
233
- uses : PyO3/maturin-action@v1
233
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
234
234
with :
235
235
target : ${{ matrix.target }}
236
236
manylinux : auto
@@ -242,7 +242,7 @@ jobs:
242
242
"${MODULE_NAME}" --help
243
243
python -m "${MODULE_NAME}" --help
244
244
- name : " Upload wheels"
245
- uses : actions/upload-artifact@v4
245
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
246
246
with :
247
247
name : wheels-${{ matrix.target }}
248
248
path : dist
@@ -260,7 +260,7 @@ jobs:
260
260
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
261
261
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
262
262
- name : " Upload binary"
263
- uses : actions/upload-artifact@v4
263
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
264
264
with :
265
265
name : artifacts-${{ matrix.target }}
266
266
path : |
@@ -294,23 +294,23 @@ jobs:
294
294
arch : arm
295
295
296
296
steps :
297
- - uses : actions/checkout@v4
297
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
298
298
with :
299
299
submodules : recursive
300
300
persist-credentials : false
301
- - uses : actions/setup-python@v5
301
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
302
302
with :
303
303
python-version : ${{ env.PYTHON_VERSION }}
304
304
- name : " Prep README.md"
305
305
run : python scripts/transform_readme.py --target pypi
306
306
- name : " Build wheels"
307
- uses : PyO3/maturin-action@v1
307
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
308
308
with :
309
309
target : ${{ matrix.platform.target }}
310
310
manylinux : auto
311
311
docker-options : ${{ matrix.platform.maturin_docker_options }}
312
312
args : --release --locked --out dist
313
- - uses : uraimo/run-on-arch-action@v2
313
+ - uses : uraimo/run-on-arch-action@ac33288c3728ca72563c97b8b88dda5a65a84448 # v2
314
314
if : matrix.platform.arch != 'ppc64'
315
315
name : Test wheel
316
316
with :
@@ -325,7 +325,7 @@ jobs:
325
325
pip3 install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
326
326
ruff --help
327
327
- name : " Upload wheels"
328
- uses : actions/upload-artifact@v4
328
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
329
329
with :
330
330
name : wheels-${{ matrix.platform.target }}
331
331
path : dist
@@ -343,7 +343,7 @@ jobs:
343
343
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
344
344
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
345
345
- name : " Upload binary"
346
- uses : actions/upload-artifact@v4
346
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
347
347
with :
348
348
name : artifacts-${{ matrix.platform.target }}
349
349
path : |
@@ -359,18 +359,18 @@ jobs:
359
359
- x86_64-unknown-linux-musl
360
360
- i686-unknown-linux-musl
361
361
steps :
362
- - uses : actions/checkout@v4
362
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
363
363
with :
364
364
submodules : recursive
365
365
persist-credentials : false
366
- - uses : actions/setup-python@v5
366
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
367
367
with :
368
368
python-version : ${{ env.PYTHON_VERSION }}
369
369
architecture : x64
370
370
- name : " Prep README.md"
371
371
run : python scripts/transform_readme.py --target pypi
372
372
- name : " Build wheels"
373
- uses : PyO3/maturin-action@v1
373
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
374
374
with :
375
375
target : ${{ matrix.target }}
376
376
manylinux : musllinux_1_2
@@ -387,7 +387,7 @@ jobs:
387
387
.venv/bin/pip3 install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
388
388
.venv/bin/${{ env.MODULE_NAME }} --help
389
389
- name : " Upload wheels"
390
- uses : actions/upload-artifact@v4
390
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
391
391
with :
392
392
name : wheels-${{ matrix.target }}
393
393
path : dist
@@ -405,7 +405,7 @@ jobs:
405
405
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
406
406
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
407
407
- name : " Upload binary"
408
- uses : actions/upload-artifact@v4
408
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
409
409
with :
410
410
name : artifacts-${{ matrix.target }}
411
411
path : |
@@ -425,23 +425,23 @@ jobs:
425
425
arch : armv7
426
426
427
427
steps :
428
- - uses : actions/checkout@v4
428
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
429
429
with :
430
430
submodules : recursive
431
431
persist-credentials : false
432
- - uses : actions/setup-python@v5
432
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
433
433
with :
434
434
python-version : ${{ env.PYTHON_VERSION }}
435
435
- name : " Prep README.md"
436
436
run : python scripts/transform_readme.py --target pypi
437
437
- name : " Build wheels"
438
- uses : PyO3/maturin-action@v1
438
+ uses : PyO3/maturin-action@36db84001d74475ad1b8e6613557ae4ee2dc3598 # v1
439
439
with :
440
440
target : ${{ matrix.platform.target }}
441
441
manylinux : musllinux_1_2
442
442
args : --release --locked --out dist
443
443
docker-options : ${{ matrix.platform.maturin_docker_options }}
444
- - uses : uraimo/run-on-arch-action@v2
444
+ - uses : uraimo/run-on-arch-action@ac33288c3728ca72563c97b8b88dda5a65a84448 # v2
445
445
name : Test wheel
446
446
with :
447
447
arch : ${{ matrix.platform.arch }}
@@ -454,7 +454,7 @@ jobs:
454
454
.venv/bin/pip3 install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
455
455
.venv/bin/${{ env.MODULE_NAME }} --help
456
456
- name : " Upload wheels"
457
- uses : actions/upload-artifact@v4
457
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
458
458
with :
459
459
name : wheels-${{ matrix.platform.target }}
460
460
path : dist
@@ -472,7 +472,7 @@ jobs:
472
472
tar czvf $ARCHIVE_FILE $ARCHIVE_NAME
473
473
shasum -a 256 $ARCHIVE_FILE > $ARCHIVE_FILE.sha256
474
474
- name : " Upload binary"
475
- uses : actions/upload-artifact@v4
475
+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
476
476
with :
477
477
name : artifacts-${{ matrix.platform.target }}
478
478
path : |
0 commit comments