CI Perf Lint

redundant-install-for-preinstalled-cli

What it flags

Flags GitHub-hosted Ubuntu, Windows, or macOS jobs that visibly install a CLI already present on the runner image and then use that CLI later in the same job.

Current CLI coverage:

Why it matters

GitHub-hosted runner images already include these CLIs. Reinstalling them can add avoidable setup time when the job does not need a pinned version.

Current heuristic

The rule requires all of the following:

When to ignore it

Ignore this finding when:

Suggested verification

Sources