diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 2e2e6d12d..533022b91 100644 --- a/.github/workflows/cygwin-test.yml +++ b/.github/workflows/cygwin-test.yml @@ -22,7 +22,8 @@ jobs: - uses: actions/checkout@v4 with: - fetch-depth: 9999 + fetch-depth: 0 + submodules: recursive - uses: cygwin/cygwin-install-action@v4 with: @@ -41,9 +42,6 @@ jobs: - name: Prepare this repo for tests run: | set -x - - /usr/bin/git submodule update --init --recursive - /usr/bin/git fetch --tags TRAVIS=yes ./init-tests-after-clone.sh - name: Further prepare git configuration for tests diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 9f15ceb2e..cce39d17a 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -24,7 +24,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 9999 + fetch-depth: 0 + submodules: recursive - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 @@ -41,9 +42,6 @@ jobs: - name: Prepare this repo for tests run: | set -x - - git submodule update --init --recursive - git fetch --tags --force TRAVIS=yes ./init-tests-after-clone.sh - name: Prepare git configuration for tests