Hide vendoring and copyright in GHA group

These two steps are currently the most verbose steps in a dist-linux
build, which makes it harder to find more interesting parts. Hide them
in a group like most things.
This commit is contained in:
Noratrieb 2025-10-13 22:00:45 +02:00
parent 99ca0ae87b
commit 11977b2e65
2 changed files with 3 additions and 1 deletions

View file

@ -263,6 +263,8 @@ impl Step for GenerateCopyright {
cache_dir
};
let _guard = builder.group("generate-copyright");
let mut cmd = builder.tool_cmd(Tool::GenerateCopyright);
cmd.env("CARGO_MANIFESTS", &cargo_manifests);
cmd.env("LICENSE_METADATA", &license_metadata);

View file

@ -74,7 +74,7 @@ impl Step for Vendor {
/// This function runs `cargo vendor` and ensures all required submodules
/// are initialized before vendoring begins.
fn run(self, builder: &Builder<'_>) -> Self::Output {
builder.info(&format!("Vendoring sources to {:?}", self.root_dir));
let _guard = builder.group(&format!("Vendoring sources to {:?}", self.root_dir));
let mut cmd = command(&builder.initial_cargo);
cmd.arg("vendor");