Log GOMODCACHE and GOCACHE sizes (in human-readable format) after
restore and before save. This helps diagnose cache bloat and monitor
the impact of cache-build settings.
https://claude.ai/code/session_01CqrWSjzGgd7Zi6LyJkd9XW
Add `cache-build` input (default: false) to control whether GOCACHE is
included in the cache. This dramatically reduces cache size from ~1.2GB
to ~200-400MB by excluding build artifacts that have low reuse across
code changes.
Also upgrades dependencies (@actions/cache v5, semver v7.7) and runtime
to node24 to align with upstream actions/setup-go.
https://claude.ai/code/session_01CqrWSjzGgd7Zi6LyJkd9XW