mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -08:00
The golangci-lint job's setup-go cache key collided with the CodeQL workflow's, so PRs restored CodeQL's main-branch build cache, which lacks the test packages and export data golangci-lint loads. Package loading thus ran nearly cold every time (~9 of ~10 minutes), and jobs now regularly hit the 10m timeout. Use a dedicated cache key, and run on pushes to main so there's a cache for PRs to restore. Updates #18366 Updates tailscale/corp#28679 Change-Id: I7a23a66dc7198c030d6a378aa2733d558c8c37d9 Signed-off-by: Brad Fitzpatrick <[email protected]>