From f9a44c22ec2b3fc01c78b4264d70cf186f193aaf Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 04:18:53 +0000 Subject: [PATCH] Enable Go module and build caching in CI Add cache-dependency-path: go.mod to both setup-go steps so that actions/setup-go caches ~/go/pkg/mod and ~/.cache/go-build across runs. Since go.sum is not checked in, go.mod is used as the cache key. https://claude.ai/code/session_011joWLHyHc8v7nDfpNoWkEY --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 046a9d7..994616b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,6 +17,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod + cache-dependency-path: go.mod - name: Go mod tidy run: go mod tidy @@ -47,6 +48,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: go.mod + cache-dependency-path: go.mod - name: Setup KinD id: kind