Set depth to 1 when fetch submodules

This commit is contained in:
Chai Feng 2020-01-06 16:31:35 +08:00
parent ad4e2ba941
commit 00ede22440
No known key found for this signature in database
GPG key ID: 2DCD9A24E523FFD2

View file

@ -7,7 +7,7 @@ steps:
- name: Fetch Submodules
image: alpine/git
commands:
- git submodule update --recursive --remote
- git submodule update --recursive --depth=1 --remote
- name: Testing
image: ubuntu:bionic