ci: add rustfmt/clippy for the Web component entries in the candidate image
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful

The candidate image installs a minimal Rust profile, so the Design/Preview
component entries failed at cargo fmt before any quality gate ran. Add the two
components once (only when the active toolchain lacks rustfmt) before running
the pinned domain entries.
This commit was merged in pull request #16.
This commit is contained in:
cflmy committed 2026-11-27 09:15:05 +08:00
1 parent 0655e8f4d5
commit 633ce64cdf
1 file changed
+6
+6
View File
@@ -100,6 +100,12 @@ python3 cli/tools/ci/verify_extension_contracts.py \
# 5.5 Web domain: component entries from the pinned domain gitlink, then a cold
# install of the same-built web Tool with a generic check/preview/handoff run.
# The candidate image uses a minimal Rust profile; component entries run
# fmt/clippy, so add those components once when the active toolchain lacks them.
if command -v rustup >/dev/null 2>&1 \
&& ! rustup component list --installed 2>/dev/null | grep -qx 'rustfmt.*'; then
rustup component add rustfmt clippy
fi
(
cd extensions/web/design
MARQDO_BIN="$MARQDO_BIN" scripts/ci.sh