mirror of
https://github.com/actions/checkout.git
synced 2025-07-04 12:58:25 +02:00
Add fetchJobs option to parallelize submodule updates
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user