tailscale / gitops-acl-action

GitOps for your Tailscale ACLs
81 stars 24 forks source link

Disable setup-go's cache #37

Closed 100xff closed 5 months ago

100xff commented 6 months ago

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.

See: actions/setup-go/docs/adrs/0000-caching-dependencies.md.

willnorris commented 5 months ago

Thanks!