mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-26 05:15:34 +00:00
Check git version before attempting to disable sparse-checkout
(#1656)
* Check git version before attempting to disable `sparse-checkout` * Bump `MinimumGitSparseCheckoutVersion` to 2.28 due to #1386 * Initial prep for release 4.1.3
This commit is contained in:
parent
8410ad0602
commit
cd7d8d697e
8 changed files with 97 additions and 30 deletions
|
@ -501,6 +501,7 @@ async function setup(testName: string): Promise<void> {
|
|||
}),
|
||||
tryReset: jest.fn(async () => {
|
||||
return true
|
||||
})
|
||||
}),
|
||||
version: jest.fn()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue