Run a callback inside both a collapsible group in the workflow log and an active OpenTelemetry span.
This replaces startGroup/endGroup: the group closes and the span ends even if fn throws, and a throwing fn marks the span failed before re-throwing.
startGroup
endGroup
fn
name is the span name and label is the console heading
name
label
The span name, such as install_nix.
install_nix
The heading of the group in the workflow log.
The work of the group. It receives the group's span.
Optional
Attributes for the span.
Run a callback inside both a collapsible group in the workflow log and an active OpenTelemetry span.
This replaces
startGroup/endGroup: the group closes and the span ends even iffnthrows, and a throwingfnmarks the span failed before re-throwing.nameis the span name andlabelis the console heading