- All playbooks
- Caching and setup
- Turn on setup-go's module and build cache, keyed on every go.sum
Turn on setup-go's module and build cache, keyed on every go.sum
Restoring compiled packages and downloaded modules removes the cold download and compile at the start of each Go job.
Company examples
How OpenClaw used this technique
Read what OpenClaw changed and follow the original sources.
Turn on setup-go's module and build cache, keyed on every go.sum
Restoring compiled packages and downloaded modules removes the cold download and compile at the start of each Go job.
- Use it when
- Go jobs run actions/setup-go with caching disabled, or key the cache on the root go.sum while nested modules keep their own.
- Before applying it
- The key covers every module checksum, so any go.sum change misses the cache and rebuilds once.
Company Playbooks
- Read Anthropic’s playbookRun only affected tests
- Read DoorDash’s playbookRun build and test in parallel, sharded across CI agents
- Read Linear’s playbookBenchmark the same job on faster hardware
- Read Mastra’s playbookStarSling runners for the slowest test workflow
- Read OpenAI’s playbookRank CI fixes by the minutes they save
- Read Ramp’s playbookType-check with a native checker
- Read Shopify’s playbookLet an agent iterate against one CI metric
- Read Spotify’s playbookBuild arm64 on native arm64 runners
- Read Stripe’s playbookRun only the tests a change can reach
- Read Uber’s playbookBuild the merge-queue speculations most likely to be needed
- Read OpenClaw’s playbookSelect only the tests and proofs a change can affect