11name : CI
22
3+ permissions :
4+ contents : read
5+
36on :
47 merge_group :
58 pull_request :
3033 runs-on : ${{ matrix.os }}
3134 timeout-minutes : 30
3235 steps :
33- - uses : actions/checkout@v4
36+ - uses : actions/checkout@v5
3437 - uses : actions/cache/restore@v4
3538 with :
3639 # key won't match, will rely on restore-keys
5861 runs-on : ubuntu-latest
5962 timeout-minutes : 30
6063 steps :
61- - uses : actions/checkout@v4
64+ - uses : actions/checkout@v5
6265 - uses : actions/cache/restore@v4
6366 with :
6467 # key won't match, will rely on restore-keys
8992 runs-on : macos-latest
9093 timeout-minutes : 60
9194 steps :
92- - uses : actions/checkout@v4
95+ - uses : actions/checkout@v5
9396 - uses : actions/cache/restore@v4
9497 with :
9598 # key won't match, will rely on restore-keys
@@ -125,7 +128,7 @@ jobs:
125128 timeout-minutes : 30
126129 needs : ci
127130 steps :
128- - uses : actions/checkout@v4
131+ - uses : actions/checkout@v5
129132 - uses : actions/cache/restore@v4
130133 with :
131134 # key won't match, will rely on restore-keys
@@ -154,7 +157,7 @@ jobs:
154157 timeout-minutes : 30
155158 needs : ci
156159 steps :
157- - uses : actions/checkout@v4
160+ - uses : actions/checkout@v5
158161 - uses : actions/cache/restore@v4
159162 with :
160163 # key won't match, will rely on restore-keys
@@ -182,7 +185,7 @@ jobs:
182185 timeout-minutes : 30
183186 needs : ci
184187 steps :
185- - uses : actions/checkout@v4
188+ - uses : actions/checkout@v5
186189 - uses : actions/cache/restore@v4
187190 with :
188191 # key won't match, will rely on restore-keys
@@ -210,7 +213,7 @@ jobs:
210213 timeout-minutes : 30
211214 needs : ci
212215 steps :
213- - uses : actions/checkout@v4
216+ - uses : actions/checkout@v5
214217 - uses : actions/cache/restore@v4
215218 with :
216219 # key won't match, will rely on restore-keys
@@ -238,7 +241,7 @@ jobs:
238241 timeout-minutes : 30
239242 needs : build
240243 steps :
241- - uses : actions/checkout@v4
244+ - uses : actions/checkout@v5
242245 - uses : actions/cache/restore@v4
243246 with :
244247 # key won't match, will rely on restore-keys
@@ -257,14 +260,17 @@ jobs:
257260 with :
258261 target : wasm32-unknown-unknown
259262 - name : Check wasm
263+ env :
264+ RUSTFLAGS : --cfg getrandom_backend="wasm_js"
260265 run : cargo check --target wasm32-unknown-unknown
261266
262267 build-wasm-atomics :
268+ if : ${{ false }} # Disabled temporarily due to https://github.com/rust-lang/rust/issues/145101
263269 runs-on : ubuntu-latest
264270 timeout-minutes : 30
265271 needs : build
266272 steps :
267- - uses : actions/checkout@v4
273+ - uses : actions/checkout@v5
268274 - uses : actions/cache/restore@v4
269275 with :
270276 # key won't match, will rely on restore-keys
@@ -287,15 +293,15 @@ jobs:
287293 - name : Check wasm
288294 run : cargo check --target wasm32-unknown-unknown -Z build-std=std,panic_abort
289295 env :
290- RUSTFLAGS : " -C target-feature=+atomics,+bulk-memory"
296+ RUSTFLAGS : ' -C target-feature=+atomics,+bulk-memory --cfg getrandom_backend="wasm_js" '
291297
292298 markdownlint :
293299 runs-on : ubuntu-latest
294300 timeout-minutes : 30
295301 needs : check-missing-features-in-docs
296302 if : always()
297303 steps :
298- - uses : actions/checkout@v4
304+ - uses : actions/checkout@v5
299305 with :
300306 # Full git history is needed to get a proper list of changed files within `super-linter`
301307 fetch-depth : 0
@@ -311,7 +317,7 @@ jobs:
311317 runs-on : ubuntu-latest
312318 timeout-minutes : 30
313319 steps :
314- - uses : actions/checkout@v4
320+ - uses : actions/checkout@v5
315321 # Update in sync with BINSTALL_VERSION
316322 -
uses :
cargo-bins/[email protected] 317323 - name : Install taplo
@@ -332,9 +338,9 @@ jobs:
332338 runs-on : ubuntu-latest
333339 timeout-minutes : 30
334340 steps :
335- - uses : actions/checkout@v4
341+ - uses : actions/checkout@v5
336342 - name : Check for typos
337- uses : crate-ci/typos@v1.34.0
343+ uses : crate-ci/typos@v1.35.4
338344 - name : Typos info
339345 if : failure()
340346 run : |
@@ -348,7 +354,7 @@ jobs:
348354 runs-on : ubuntu-latest
349355 timeout-minutes : 30
350356 steps :
351- - uses : actions/checkout@v4
357+ - uses : actions/checkout@v5
352358 - uses : actions/cache/restore@v4
353359 with :
354360 # key won't match, will rely on restore-keys
@@ -386,7 +392,7 @@ jobs:
386392 runs-on : ubuntu-latest
387393 timeout-minutes : 30
388394 steps :
389- - uses : actions/checkout@v4
395+ - uses : actions/checkout@v5
390396 - uses : dtolnay/rust-toolchain@stable
391397 - name : check for missing metadata
392398 id : missing-metadata
@@ -421,7 +427,7 @@ jobs:
421427 timeout-minutes : 30
422428 needs : check-missing-examples-in-docs
423429 steps :
424- - uses : actions/checkout@v4
430+ - uses : actions/checkout@v5
425431 - uses : dtolnay/rust-toolchain@stable
426432 - name : check for missing features
427433 id : missing-features
@@ -456,7 +462,7 @@ jobs:
456462 timeout-minutes : 30
457463 needs : build
458464 steps :
459- - uses : actions/checkout@v4
465+ - uses : actions/checkout@v5
460466 - uses : dtolnay/rust-toolchain@stable
461467 - name : get MSRV
462468 id : msrv
@@ -500,7 +506,7 @@ jobs:
500506 runs-on : ubuntu-latest
501507 timeout-minutes : 30
502508 steps :
503- - uses : actions/checkout@v4
509+ - uses : actions/checkout@v5
504510 - name : Check for internal Bevy imports
505511 shell : bash
506512 run : |
0 commit comments