outdated-action
What it does
Section titled “What it does”Reports a step that uses a popular action at a version whose runner (the Node version it runs on) is retired, from a list of actions kept with the rule.
Why it matters
Section titled “Why it matters”GitHub retires the Node runtimes that old action versions use. Their jobs print deprecation warnings and, once the runtime is removed, fail.
To fix, update the action to a newer version.
Example
Section titled “Example”... a: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v4 - uses: actions/checkout@v3.1.0 - uses: ./localConfiguration
Section titled “Configuration”github-actions: lint: rules: outdated-action: warn # off (default), warn, errorEnabled by the presets: github-actions/actionlint.
Suppress one line with sudsy-disable-next-line outdated-action in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools. full: Sudsy reports what the upstream rule reports; partial: only part of it, as the last column says.
| Tool | Rule | Match | What differs |
|---|---|---|---|
| actionlint | action/outdated-runner |
partial | The specs of actionlint’s list of outdated popular actions (data/outdated-actions.txt, copied from its pinned release). |