From f4c0a833e6080ddff81b5551c806a1f8d38007cd Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Fri, 6 Nov 2026 08:34:14 +0100 Subject: [PATCH] ci: check editor-check formatting in the product check Every product adds a fixture to tools/editor-check, but only the CI previews job checked its formatting, so an unformatted fixture passed the local product check and failed CI. --- scripts/check-plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/check-plugin.py b/scripts/check-plugin.py index 066a824..930ca6c 100644 --- a/scripts/check-plugin.py +++ b/scripts/check-plugin.py @@ -15,6 +15,8 @@ commands = [ ["cargo", "test", *packages, "--locked"], ["cargo", "clippy", *packages, "--all-targets", "--locked", "--", "-D", "warnings"], ["cargo", "fmt", "--manifest-path", product["manifest"], "--", "--check"], + # Every product has a fixture in the editor renderer; CI checks its formatting too. + ["cargo", "fmt", "--manifest-path", "tools/editor-check/Cargo.toml", "--", "--check"], ["cargo", "test", "--manifest-path", product["manifest"], "--locked"], ["cargo", "clippy", "--manifest-path", product["manifest"], "--all-targets", "--locked", "--", "-D", "warnings"], ]