mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
Merge 6b8be4cb30
into cbb722410c
This commit is contained in:
commit
3cced7db06
8 changed files with 72 additions and 8 deletions
|
@ -815,6 +815,7 @@ async function setup(testName: string): Promise<void> {
|
|||
nestedSubmodules: false,
|
||||
persistCredentials: true,
|
||||
ref: 'refs/heads/main',
|
||||
defaultBranchCheckout: false,
|
||||
repositoryName: 'my-repo',
|
||||
repositoryOwner: 'my-org',
|
||||
repositoryPath: '',
|
||||
|
|
|
@ -80,6 +80,7 @@ describe('input-helper tests', () => {
|
|||
expect(settings.commit).toBeTruthy()
|
||||
expect(settings.commit).toBe('1234567890123456789012345678901234567890')
|
||||
expect(settings.filter).toBe(undefined)
|
||||
expect(settings.defaultBranchCheckout).toBe(false)
|
||||
expect(settings.sparseCheckout).toBe(undefined)
|
||||
expect(settings.sparseCheckoutConeMode).toBe(true)
|
||||
expect(settings.fetchDepth).toBe(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue