GitHub Actions removals · checked
actions/cache v2 deprecated: failing since 1 Mar 2025
actions/cache v1 and v2, and pins below v3.4.0 or v4.2.0: stopped working 1 Mar 2025, 633 days ago. Jobs using actions/cache v1 or v2 fail, and so do exact pins of v3 below 3.4.0 or v4 below 4.2.0: the legacy cache service they call was shut down. GitHub Enterprise Server is not affected. The fix: Use actions/cache@v5 (Node 24); if you pin a version or a commit, pin v5, or at least v4.2.0. Find every place your workflows use it: npx --allow-remote=root https://agentwares.vercel.app/dl/actions-eol-0.2.0.tgz
$ npx --allow-remote=root https://agentwares.vercel.app/dl/actions-eol-0.2.0.tgz
npx --allow-remote=root https://agentwares.vercel.app/dl/actions-eol-0.2.0.tgz reads .github/workflows in the current directory (or owner/repo through GitHub's API with your own token) and lists every runner label, action version, runtime, workflow command and trigger a dated GitHub removal hits, with the file, the line and the fix. No account; nothing about your workflows is sent to us. Its requests fetch this data and the public action.yml of the actions you use. Free and MIT licensed.
The facts
- What
- actions/cache v1 and v2, and pins below v3.4.0 or v4.2.0
- Matches
actions/cachev1, v2, and exact pins below v3.4.0 or v4.2.0- Effect
- Breaks a job
- Announced
- 5 December 2024
- Deprecated from
- 1 February 2025
- In effect since
- 1 Mar 2025stopped working 1 Mar 2025, 633 days ago
- After the date
- Jobs using actions/cache v1 or v2 fail, and so do exact pins of v3 below 3.4.0 or v4 below 4.2.0: the legacy cache service they call was shut down. GitHub Enterprise Server is not affected.
- The fix
- Use actions/cache@v5 (Node 24); if you pin a version or a commit, pin v5, or at least v4.2.0.
- Replace
actions/cache→actions/cache@v5
Check by hand
From the repository root; the command above also reads matrices, inputs to reusable workflows and each action's own action.yml, which a grep cannot.
$ grep -rnE "actions/cache(/[a-z-]+)?@v?(1|2)\b" .github
In CI, before the next date
The same check as a GitHub Action. It annotates each workflow line it finds: a warning 60 days ahead, an error 14 days before a brownout or removal (or once it is in effect), and the job fails on an error. Warning-only findings never fail it. The weekly run turns the check red as a date comes closer, even when nothing changed.
# .github/workflows/actions-eol.yml
on:
pull_request:
paths: [".github/**", "action.yml", "action.yaml"]
schedule:
- cron: "17 7 * * 1"
permissions:
contents: read
jobs:
actions-eol:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: agentwares/actions-eol@main
with:
warn-days: 60
fail-days: 14Notes
- A pin by commit SHA is reported only when the commit's version can be read; a floating @v3 or @v4 tag already points at a version above the floor.
Sources
An email before each brownout, for the repos you watch, is not built.
It would re-read your workflows every day and email you a week and a day before each brownout or removal that would hit them, with no change to your repo. agentcheck's free hourly watch covers MCP servers only today. If you would pay for this one, say so with one click. The click is counted, and nothing else is sent or stored unless you then leave an email.
Counted. Thank you; nothing else was sent.
Other GitHub Actions removals
- upload-artifact and download-artifact v1 to v3 · stopped working 30 Jan 2025, 663 days ago
- macOS 10.15 runner image · removed 1 Dec 2022, 1454 days ago
- macOS 12 runner image · removed 3 Dec 2024, 721 days ago
- macOS 13 runner image · removed 4 Dec 2025, 355 days ago
- macOS 14 runner image · removed 2 Nov 2026, 22 days ago
- pull_request_target in public repositories · blocked by default 2 Nov 2026, 22 days ago
- set-env and add-path workflow commands · disabled 16 Nov 2020, 2199 days ago
- Ubuntu 18.04 runner image · removed 3 Apr 2023, 1331 days ago
actions-eol is a free tool from agentcheck, which runs scheduled checks of your endpoints and alerts you when an answer changes. Dates come from GitHub's own pages, read on the day shown; github.com only, since GitHub Enterprise Server keeps its own schedule.