22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
- uses : actions/setup-python@v5
25
+ with :
26
+ python-version : ' 3.12'
25
27
- run : python -m pip install --upgrade pip && pip install nox
26
28
- uses : dtolnay/rust-toolchain@stable
27
29
with :
38
40
steps :
39
41
- uses : actions/checkout@v4
40
42
- uses : actions/setup-python@v5
43
+ with :
44
+ python-version : ' 3.12'
41
45
- name : resolve MSRV
42
46
id : resolve-msrv
43
47
run :
50
54
steps :
51
55
- uses : actions/checkout@v4
52
56
- uses : actions/setup-python@v5
57
+ with :
58
+ python-version : ' 3.12'
53
59
- uses : obi1kenobi/cargo-semver-checks-action@v2
54
60
55
61
check-msrv :
@@ -60,11 +66,10 @@ jobs:
60
66
- uses : dtolnay/rust-toolchain@master
61
67
with :
62
68
toolchain : ${{ needs.resolve.outputs.MSRV }}
63
- targets : x86_64-unknown-linux-gnu
64
69
components : rust-src
65
70
- uses : actions/setup-python@v5
66
71
with :
67
- architecture : " x64 "
72
+ python-version : ' 3.12 '
68
73
- uses : Swatinem/rust-cache@v2
69
74
with :
70
75
save-if : ${{ github.event_name != 'merge_group' }}
@@ -143,6 +148,7 @@ jobs:
143
148
components : clippy,rust-src
144
149
- uses : actions/setup-python@v5
145
150
with :
151
+ python-version : ' 3.12'
146
152
architecture : ${{ matrix.platform.python-architecture }}
147
153
- uses : Swatinem/rust-cache@v2
148
154
with :
@@ -324,6 +330,10 @@ jobs:
324
330
steps :
325
331
- uses : actions/checkout@v4
326
332
- uses : actions/setup-python@v5
333
+ with :
334
+ # FIXME valgrind detects an issue with Python 3.12.5, needs investigation
335
+ # whether it's a PyO3 issue or upstream CPython.
336
+ python-version : ' 3.12.4'
327
337
- uses : Swatinem/rust-cache@v2
328
338
with :
329
339
save-if : ${{ github.event_name != 'merge_group' }}
@@ -343,6 +353,8 @@ jobs:
343
353
steps :
344
354
- uses : actions/checkout@v4
345
355
- uses : actions/setup-python@v5
356
+ with :
357
+ python-version : ' 3.12'
346
358
- uses : Swatinem/rust-cache@v2
347
359
with :
348
360
save-if : ${{ github.event_name != 'merge_group' }}
@@ -363,6 +375,8 @@ jobs:
363
375
steps :
364
376
- uses : actions/checkout@v4
365
377
- uses : actions/setup-python@v5
378
+ with :
379
+ python-version : ' 3.12'
366
380
- uses : Swatinem/rust-cache@v2
367
381
with :
368
382
save-if : ${{ github.event_name != 'merge_group' }}
@@ -387,6 +401,8 @@ jobs:
387
401
if : steps.should-skip.outputs.skip != 'true'
388
402
- uses : actions/setup-python@v5
389
403
if : steps.should-skip.outputs.skip != 'true'
404
+ with :
405
+ python-version : ' 3.12'
390
406
- uses : Swatinem/rust-cache@v2
391
407
if : steps.should-skip.outputs.skip != 'true'
392
408
with :
@@ -517,6 +533,8 @@ jobs:
517
533
steps :
518
534
- uses : actions/checkout@v4
519
535
- uses : actions/setup-python@v5
536
+ with :
537
+ python-version : ' 3.12'
520
538
- uses : Swatinem/rust-cache@v2
521
539
with :
522
540
save-if : ${{ github.event_name != 'merge_group' }}
@@ -584,6 +602,8 @@ jobs:
584
602
steps :
585
603
- uses : actions/checkout@v4
586
604
- uses : actions/setup-python@v5
605
+ with :
606
+ python-version : ' 3.12'
587
607
- uses : Swatinem/rust-cache@v2
588
608
with :
589
609
workspaces :
0 commit comments