Performance Rules¶

Rule

Severity

Description

Cache key never misses

medium

Cache key does not include a hash of the lockfile, meaning the cache never invalidates when dependencies change.

Duplicated jobs without matrix strategy

low

Multiple nearly-identical jobs differ only in a parameter (OS, Node version, etc.) but do not use a matrix strategy.

Expensive steps before fast-fail checks

low

Long dependency installation steps run before quick lint/type-check steps. Reordering to fail fast reduces wasted comput…

Unnecessary full git history checkout

low

fetch-depth: 0 is used but no git history analysis (changelog generation, git log, blame) is present in the workflow.