ci_group
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.
Install
[]
= "0.1"
Usage
let _g = open;
build; // group closes automatically, even on panic
Or use the macro:
group!;
Local development
No output outside CI. To preview locally:
GITHUB_ACTIONS=true TF_BUILD=true
Limitation
RAII cannot help if code calls std::process::exit() - destructors are skipped.
Return from main() instead.
License
MIT OR Apache-2.0