feat: GoGitActionCache shallow fetch (#63)

This commit is contained in:
ChristopherHX 2025-02-22 15:17:17 +01:00 committed by GitHub
parent 1300fbbe74
commit 00231e5dc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}