setup-go attempts to find and hash go.sum files to build a cache key. Since we don't use go.sum files, this fails and setup-go continues with a warning like
Restore cache failed: Dependencies file is not found in .... Supported file pattern: go.sum
which is annoying. We can prevent it from printing by disabling the cache.
setup-go
attempts to find and hashgo.sum
files to build a cache key. Since we don't usego.sum
files, this fails andsetup-go
continues with a warning likewhich is annoying. We can prevent it from printing by disabling the cache.
See: actions/setup-go/docs/adrs/0000-caching-dependencies.md.