CI: wasm compile in the merge queue, dependency advisories on dependency changes (#8652)

The wasm compile ran only by hand, so #8227 (a native-only DroppedFile::bytes() call in
crates/ui-egui) passed PR CI and the merge queue and broke the web build on main (#8534).
A merge group that touches the crates below the apps, the web app, the vendored crates, the
manifests, the toolchain or this workflow now runs `cargo xtask wasm`, and `ci` requires it.

Dependency advisories ran only nightly. A pull request or merge group that changes Cargo.lock
or a Cargo.toml now runs `cargo deny --locked check --warn unmaintained advisories`, and `ci`
requires it then. The nightly keeps the full advisories, bans and sources scan.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bherbruck
2026-10-29 13:39:48 +00:00
committed by GitHub
parent 884c47496b
commit be8bd43a18
3 changed files with 71 additions and 9 deletions
+5 -2
View File
@@ -17,8 +17,11 @@ profile and the wasm build check.
## Dependency advisories
Scheduled and manually dispatched CI runs have a separate **Dependency advisories** job;
new advisories do not fail unrelated pull requests. To run the same scan locally:
Scheduled and manually dispatched CI runs have a separate **Dependency advisories** job that
checks advisories, bans and sources. A pull request or merge group that changes `Cargo.lock` or
any `Cargo.toml` runs the same job for advisories only, and `ci` requires it then; other pull
requests skip it, so a new advisory does not fail an unrelated change. To run the nightly scan
locally:
```sh
cargo install cargo-deny --version 0.20.2 --locked