Reduce release helper build time.

This commit is contained in:
Hermes Agent
2026-08-14 10:12:08 +00:00
parent 1424d59845
commit 8402981d94
2 changed files with 10 additions and 6 deletions

View File

@@ -143,6 +143,10 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"release workflow must not use host tool {forbidden}"
);
}
assert!(
!workflow.contains("run --release --locked --package bds-release"),
"the release helper itself must stay unoptimized so cold runner jobs remain practical"
);
assert_eq!(
workflow
.matches("actions-rust-lang/setup-rust-toolchain@v1")