diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index ed5027900a55f44af4b65992b59f09c43230ce11..6db45343e0cde1c4b41b9911c23c1c674ac5fd82 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -20,6 +20,9 @@ jobs:
 
     steps:
       - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+          submodules: recursive
       - uses: ./.github/actions/environment
       - name: test
         run: make -f .test.mk test-coverity