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:
parent
900f2210b1
commit
67bd696108
8 changed files with 634 additions and 7 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue