Commit graph

12 commits

Author SHA1 Message Date
Claude
867e185dcc
perf: log cache directory sizes for visibility
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
2026-04-04 18:17:13 +00:00
Claude
cf0b11600c
perf: add cache-build option and upgrade to v6.2.0
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
2026-04-04 17:58:19 +00:00
kevin perreau
ed099b7083
perf: improve setup-go cache for build-cache + use improved version of hash dir based on file's meta 2024-05-06 13:10:32 +02:00
Dmitry Shibanov
0c52d547c9
Update dependencies for node20 (#445) 2023-12-05 17:50:42 +01:00
Sergey Dolin
c51a720768
Enable caching by default with default input (#332) 2023-03-10 16:25:35 +01:00
Evgenii Korolevskii
c4e169859f prettier format 2022-09-08 15:11:06 +02:00
Evgenii Korolevskii
db58e98a43 format 2022-09-08 14:53:17 +02:00
Evgenii Korolevskii
5547b9ed8d fix(cache): Not throw err if no cache folders 2022-09-08 13:18:41 +02:00
Evgenii Korolevskii
be45b2722d build 2022-09-08 12:29:13 +02:00
Vladimir Safonkin
9eecd2d0d7 Minor fix 2022-07-01 09:25:30 +02:00
Vladimir Safonkin
0fd92001e9 Rework cache handling 2022-06-28 14:17:12 +02:00
IvanZosimov
b22fbbc292
Implementation of caching functionality for setup-go action (#228) 2022-05-25 12:07:29 +02:00