1
1
name : CI
2
2
3
+ permissions :
4
+ contents : read
5
+
3
6
on :
4
7
merge_group :
5
8
pull_request :
30
33
runs-on : ${{ matrix.os }}
31
34
timeout-minutes : 30
32
35
steps :
33
- - uses : actions/checkout@v4
36
+ - uses : actions/checkout@v5
34
37
- uses : actions/cache/restore@v4
35
38
with :
36
39
# key won't match, will rely on restore-keys
58
61
runs-on : ubuntu-latest
59
62
timeout-minutes : 30
60
63
steps :
61
- - uses : actions/checkout@v4
64
+ - uses : actions/checkout@v5
62
65
- uses : actions/cache/restore@v4
63
66
with :
64
67
# key won't match, will rely on restore-keys
89
92
runs-on : macos-latest
90
93
timeout-minutes : 60
91
94
steps :
92
- - uses : actions/checkout@v4
95
+ - uses : actions/checkout@v5
93
96
- uses : actions/cache/restore@v4
94
97
with :
95
98
# key won't match, will rely on restore-keys
@@ -125,7 +128,7 @@ jobs:
125
128
timeout-minutes : 30
126
129
needs : ci
127
130
steps :
128
- - uses : actions/checkout@v4
131
+ - uses : actions/checkout@v5
129
132
- uses : actions/cache/restore@v4
130
133
with :
131
134
# key won't match, will rely on restore-keys
@@ -154,7 +157,7 @@ jobs:
154
157
timeout-minutes : 30
155
158
needs : ci
156
159
steps :
157
- - uses : actions/checkout@v4
160
+ - uses : actions/checkout@v5
158
161
- uses : actions/cache/restore@v4
159
162
with :
160
163
# key won't match, will rely on restore-keys
@@ -182,7 +185,7 @@ jobs:
182
185
timeout-minutes : 30
183
186
needs : ci
184
187
steps :
185
- - uses : actions/checkout@v4
188
+ - uses : actions/checkout@v5
186
189
- uses : actions/cache/restore@v4
187
190
with :
188
191
# key won't match, will rely on restore-keys
@@ -210,7 +213,7 @@ jobs:
210
213
timeout-minutes : 30
211
214
needs : ci
212
215
steps :
213
- - uses : actions/checkout@v4
216
+ - uses : actions/checkout@v5
214
217
- uses : actions/cache/restore@v4
215
218
with :
216
219
# key won't match, will rely on restore-keys
@@ -238,7 +241,7 @@ jobs:
238
241
timeout-minutes : 30
239
242
needs : build
240
243
steps :
241
- - uses : actions/checkout@v4
244
+ - uses : actions/checkout@v5
242
245
- uses : actions/cache/restore@v4
243
246
with :
244
247
# key won't match, will rely on restore-keys
@@ -257,14 +260,17 @@ jobs:
257
260
with :
258
261
target : wasm32-unknown-unknown
259
262
- name : Check wasm
263
+ env :
264
+ RUSTFLAGS : --cfg getrandom_backend="wasm_js"
260
265
run : cargo check --target wasm32-unknown-unknown
261
266
262
267
build-wasm-atomics :
268
+ if : ${{ false }} # Disabled temporarily due to https://github.com/rust-lang/rust/issues/145101
263
269
runs-on : ubuntu-latest
264
270
timeout-minutes : 30
265
271
needs : build
266
272
steps :
267
- - uses : actions/checkout@v4
273
+ - uses : actions/checkout@v5
268
274
- uses : actions/cache/restore@v4
269
275
with :
270
276
# key won't match, will rely on restore-keys
@@ -287,15 +293,15 @@ jobs:
287
293
- name : Check wasm
288
294
run : cargo check --target wasm32-unknown-unknown -Z build-std=std,panic_abort
289
295
env :
290
- RUSTFLAGS : " -C target-feature=+atomics,+bulk-memory"
296
+ RUSTFLAGS : ' -C target-feature=+atomics,+bulk-memory --cfg getrandom_backend="wasm_js" '
291
297
292
298
markdownlint :
293
299
runs-on : ubuntu-latest
294
300
timeout-minutes : 30
295
301
needs : check-missing-features-in-docs
296
302
if : always()
297
303
steps :
298
- - uses : actions/checkout@v4
304
+ - uses : actions/checkout@v5
299
305
with :
300
306
# Full git history is needed to get a proper list of changed files within `super-linter`
301
307
fetch-depth : 0
@@ -311,7 +317,7 @@ jobs:
311
317
runs-on : ubuntu-latest
312
318
timeout-minutes : 30
313
319
steps :
314
- - uses : actions/checkout@v4
320
+ - uses : actions/checkout@v5
315
321
# Update in sync with BINSTALL_VERSION
316
322
-
uses :
cargo-bins/[email protected]
317
323
- name : Install taplo
@@ -332,9 +338,9 @@ jobs:
332
338
runs-on : ubuntu-latest
333
339
timeout-minutes : 30
334
340
steps :
335
- - uses : actions/checkout@v4
341
+ - uses : actions/checkout@v5
336
342
- name : Check for typos
337
- uses : crate-ci/typos@v1.34.0
343
+ uses : crate-ci/typos@v1.35.4
338
344
- name : Typos info
339
345
if : failure()
340
346
run : |
@@ -348,7 +354,7 @@ jobs:
348
354
runs-on : ubuntu-latest
349
355
timeout-minutes : 30
350
356
steps :
351
- - uses : actions/checkout@v4
357
+ - uses : actions/checkout@v5
352
358
- uses : actions/cache/restore@v4
353
359
with :
354
360
# key won't match, will rely on restore-keys
@@ -386,7 +392,7 @@ jobs:
386
392
runs-on : ubuntu-latest
387
393
timeout-minutes : 30
388
394
steps :
389
- - uses : actions/checkout@v4
395
+ - uses : actions/checkout@v5
390
396
- uses : dtolnay/rust-toolchain@stable
391
397
- name : check for missing metadata
392
398
id : missing-metadata
@@ -421,7 +427,7 @@ jobs:
421
427
timeout-minutes : 30
422
428
needs : check-missing-examples-in-docs
423
429
steps :
424
- - uses : actions/checkout@v4
430
+ - uses : actions/checkout@v5
425
431
- uses : dtolnay/rust-toolchain@stable
426
432
- name : check for missing features
427
433
id : missing-features
@@ -456,7 +462,7 @@ jobs:
456
462
timeout-minutes : 30
457
463
needs : build
458
464
steps :
459
- - uses : actions/checkout@v4
465
+ - uses : actions/checkout@v5
460
466
- uses : dtolnay/rust-toolchain@stable
461
467
- name : get MSRV
462
468
id : msrv
@@ -500,7 +506,7 @@ jobs:
500
506
runs-on : ubuntu-latest
501
507
timeout-minutes : 30
502
508
steps :
503
- - uses : actions/checkout@v4
509
+ - uses : actions/checkout@v5
504
510
- name : Check for internal Bevy imports
505
511
shell : bash
506
512
run : |
0 commit comments