3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2026-05-29 15:36:31 +00:00

Fix checkout init for SHA-256 repositories

This commit is contained in:
Yashwanth Anantharaju 2026-05-21 14:31:18 -04:00
parent 900f2210b1
commit 67bd696108
8 changed files with 634 additions and 7 deletions

View file

@ -501,6 +501,7 @@ async function setup(testName: string): Promise<void> {
await fs.promises.stat(path.join(repositoryPath, '.git'))
return repositoryUrl
}),
tryGetObjectFormat: jest.fn(async () => ({format: '', succeeded: true})),
tryGetConfigValues: jest.fn(),
tryGetConfigKeys: jest.fn(),
tryReset: jest.fn(async () => {