diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6730778d887ce1ca3368e36b8b8c17f378ebd756..ab43b8431f52d26072521485bdc7c4b35a8176ba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -110,7 +110,7 @@ variables:
     CMAKE_ARGS: ${CMAKE_BASE_ARGS}
   script:
     - pwd; ls
-    - git clone https://gitlab.cern.ch/geant4/geant4.git
+    - git clone --depth=1 https://gitlab.cern.ch/geant4/geant4.git
     - cd geant4
     - git checkout tags/v11.0.2
     - cd ../