ci/gha: enable go caching#48729
Conversation
actions/setup-go complains: > Restore cache failed: Dependencies file is not found in > /home/runner/work/moby/moby. Supported file pattern: go.sum Let's give it one to chew. Signed-off-by: Kir Kolyshkin <[email protected]>
|
Oh! I recall we had some discussion about this in #47428 (comment)
FWIW, I'm not against doing this, but perhaps only to make the action happy (as it may not bring much gain from a performance perspective otherwise?) |
|
👍 yeah, let's bring it in then I was also wondering if we should have a target to run it in a container instead of using the go-setup action, but I guess that may be hella slow on Windows, so probably not great. |
- What I did
actions/setup-go complains:
Let's give it one to chew.
- How I did it
- How to verify it
Look in GHA warnings, the one quoted above should be gone.
Some CI jobs might suddenly become faster thanks to go caches.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)