Skip to content

Commit d934925

Browse files
fix(ci): reduce checkout fetch-depth from 0 to 1 to speed up CI
fetch-depth: 0 downloads entire git history through GH_PROXY, taking ~7 minutes. fetch-depth: 1 is sufficient for Dockerfile builds. Signed-off-by: JavaPythonAIForBAT <wuhejun@h-partners.com>
1 parent a705f21 commit d934925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/buildkit-dockerfile-test-group1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v7
3333
with:
34-
fetch-depth: 0
34+
fetch-depth: 1
3535
persist-credentials: false
3636

3737
- name: Determine SOC_VERSION

0 commit comments

Comments
 (0)