actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.36k stars 1.16k forks source link

examples: hash go.mod, not go.sum #1395

Open peterbourgon opened 1 month ago

peterbourgon commented 1 month ago

go.sum isn't a lock file and doesn't represent dependencies. See this issue for more detail.

peterbourgon commented 1 week ago

Friendly ping :) /cc @bethanyj28 @cdce8p

peterbourgon commented 1 week ago

Most ideal would be to define cache keys like what is described in this comment, but that may be step 2 after this more basic PR 😄

joshmgross commented 1 week ago

Thanks for your contribution @peterbourgon!

I'll need to do a bit of research and I'll get back to you on this change.