A small script hashes each job's input files from git (the workflow file and the script itself always among them), and a first job looks the hashes up in the GitHub Actions cache with actions/cache's restore (lookup-only) and save. A job that passed saves a marker under its hash; the next run with the same hash skips that job, and a skipped job still counts as passed. The release binary is cached the same way, so a data-only commit builds a new image without compiling the server again. Caches made on main serve every branch, and a branch's own caches never reach main.

We looked at Turborepo with Vercel's free remote cache first. It caches task results by input hash, which is what we wanted, but it's built for JavaScript workspaces: it would need a package.json, Node on every runner and a Vercel token, and each job would still start its runner and service containers before Turborepo could tell it to stop. Nx has the same fit. fkirc/skip-duplicate-actions judges a whole run rather than each job, and dorny/paths-filter compares with a base commit, not with the last run that passed.

The first search returned only Nx, and the second, which ruled out build systems, returned nothing (low confidence): Talira didn't list any GitHub Actions for this. We added all three, and a golden eval case expects them for this question.