From 00231e5dc1b3371209bf00b20b0441e97ce168d4 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Sat, 22 Feb 2025 15:17:17 +0100 Subject: [PATCH] feat: GoGitActionCache shallow fetch (#63) --- pkg/runner/action_cache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/runner/action_cache.go b/pkg/runner/action_cache.go index 46ce2812..a028e7c9 100644 --- a/pkg/runner/action_cache.go +++ b/pkg/runner/action_cache.go @@ -77,6 +77,7 @@ func (c GoGitActionCache) Fetch(ctx context.Context, cacheDir, url, ref, token s }, Auth: auth, Force: true, + Depth: 1, }); err != nil { return "", fmt.Errorf("GoGitActionCache failed to fetch %s with ref %s at %s: %w", url, ref, gitPath, err) }