Compilation results
Share build results through GOCACHEPROG.
Connect the Go build cache to shared storage. Fresh runners and developer machines can reuse results when the Go command’s cache rules allow it.
.boringcache.toml
workspace = "my-org/app" [adapters.go] tag = "go-cache" command = ["go", "test", "./..."]
boringcache go
permissions: contents: read id-token: write steps: - uses: boringcache/one@f0fb9b2d926a32b10c543e92093ba00c5a291b79 # v1.33.0 with: mode: go trust-policy: auto - run: go test ./...
steps: - label: Build command: > boringcache ci run --oidc-provider buildkite -- boringcache go
build: timeout: 1h id_tokens: BORINGCACHE_OIDC_TOKEN: aud: urn:boringcache:workload script: - boringcache ci run --oidc-provider gitlab -- boringcache go
Share build results through GOCACHEPROG.
Reuse completed tests when Go considers them cacheable.
Keep the commands that already build and test your project.
Downloaded module source and compiled build results are different caches. This integration shares build and test results, not merely the packages needed to produce them.
Inspect build-cache reads, misses, transfers, and storage for each run.
Explore the workspace →81%
Hugo · compared with actions/cache
Give consumers restore access and publishers a separate permission. Connect supported CI through OIDC or use scoped credentials.
Connect your CI →Separate readers and publishers
Install the CLI. Run onboarding to connect your repository and configure your cache.
30 GB of cache free. No credit card required.
curl -sSL https://install.boringcache.com/install.sh | sh
boringcache onboard
boringcache go
We use cookies to understand how people use BoringCache. Learn more