ci: drop cache: setting in setup-go / setup-node #5
Reference in New Issue
Block a user
Delete Branch "feature/drop-setup-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Turns
cache: true(setup-go) andcache: pnpm(setup-node) intocache: falsein every workflow.Why
Both settings push and pull tarballs through the Gitea Actions cache service at
192.168.0.222:43513. That endpoint currently does not answer, so every workflow burns minutes per run on reserveCache retries before the action gives up.In host-mode the real caches live under the runner user's
$HOMEand persist between jobs without any plumbing:~/go/pkg/mod(760 MB)~/.cache/go-build(1.6 GB)~/.local/share/pnpm(241 MB)~/.cache/ms-playwright(chromium + webkit warm)The
--mount=type=cachedirectives in our Dockerfiles continue to give the same effect fordocker buildsteps.Expected impact
TODO (not in this PR)
Fix the Gitea Actions cache service so we can opt back into it later if we want cross-host caching.