Bootstrap Rust in release jobs.
Some checks failed
Tagged release / prepare-release (push) Successful in 9m41s
Tagged release / build-macos (push) Failing after 15m9s
Tagged release / build-linux-arm64 (push) Successful in 38m44s
Tagged release / build-linux-x64 (push) Failing after 10s
Tagged release / build-windows (push) Failing after 17m47s
Tagged release / publish-release (push) Has been skipped

This commit is contained in:
Hermes Agent
2026-08-14 09:09:29 +00:00
parent 917947a421
commit 27470465a7
2 changed files with 29 additions and 4 deletions

View File

@@ -143,6 +143,13 @@ fn tagged_releases_are_built_and_packaged_with_rust_tools() {
"release workflow must not use host tool {forbidden}"
);
}
assert_eq!(
workflow
.matches("actions-rust-lang/setup-rust-toolchain@v1")
.count(),
4,
"every release job using the Ubuntu runner image must bootstrap Rust"
);
let linux_dependencies =
fs::read_to_string(workspace.join(".gitea/scripts/install-linux-build-dependencies.sh"))