A lightweight RAII library for log groups in GitHub Actions and Azure Pipelines.
Fixes "swallowed logs" by closing groups automatically when dropped, preserving output even on panic.
[dependencies]
ci_group = "0.1"let _g = ci_group::open("Build");
build(); // group closes automatically, even on panicOr use the macro:
ci_group::group!("Build", {
build()?;
});No output outside CI. To preview locally:
GITHUB_ACTIONS=true cargo run # GitHub Actions
TF_BUILD=true cargo run # Azure PipelinesRAII cannot help if code calls std::process::exit() - destructors are skipped.
Return from main() instead.
MIT OR Apache-2.0