mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-21 09:10:16 +03:00
Add fetchJobs option to parallelize submodule updates
This commit is contained in:
parent
2036a08e25
commit
ad5dc19390
9 changed files with 49 additions and 5 deletions
|
@ -760,6 +760,7 @@ async function setup(testName: string): Promise<void> {
|
|||
clean: true,
|
||||
commit: '',
|
||||
fetchDepth: 1,
|
||||
fetchJobs: 0,
|
||||
lfs: false,
|
||||
submodules: false,
|
||||
nestedSubmodules: false,
|
||||
|
|
|
@ -75,6 +75,7 @@ describe('input-helper tests', () => {
|
|||
expect(settings.commit).toBeTruthy()
|
||||
expect(settings.commit).toBe('1234567890123456789012345678901234567890')
|
||||
expect(settings.fetchDepth).toBe(1)
|
||||
expect(settings.fetchJobs).toBe(0)
|
||||
expect(settings.lfs).toBe(false)
|
||||
expect(settings.ref).toBe('refs/heads/some-ref')
|
||||
expect(settings.repositoryName).toBe('some-repo')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue