diff --git a/.github/workflows/profile_cobyla_small_sq.yml b/.github/workflows/profile_cobyla_small_sq.yml index 6347fd6604..cc9d068ae7 100644 --- a/.github/workflows/profile_cobyla_small_sq.yml +++ b/.github/workflows/profile_cobyla_small_sq.yml @@ -53,6 +53,7 @@ jobs: uses: actions/checkout@v4 if: github.event.inputs.git-ref == '' with: + fetch-depth: 2 # checkout fetches only one commit by default. Set it to two for the `norma` test ssh-key: ${{ secrets.SSH_PRIVATE_KEY_ACT }} # This forces checkout to use SSH, not HTTPS submodules: recursive - name: Clone Repository (Custom Ref) @@ -73,7 +74,6 @@ jobs: - name: Clone MatCUTEst uses: actions/checkout@v4 with: - fetch-depth: 2 # checkout fetches only one commit by default. Set it to two for the `norma` test ssh-key: ${{ secrets.SSH_PRIVATE_KEY_ACT }} # This forces checkout to use SSH, not HTTPS repository: matcutest/matcutest_compiled path: matcutest