diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3193e8b3..87fcb424 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,10 @@ jobs: # submodules prove problematic since .git is outside cibuildwheel's manylinux container run: | COMMIT=$(cat mypy_commit) - git clone --recurse-submodules https://github.com/python/mypy.git + git clone https://github.com/python/mypy.git cd mypy - git checkout --force --recurse-submodules $COMMIT + git checkout $COMMIT + git submodule update --init --recursive - name: Build wheels env: CIBW_BUILD: "cp${{ matrix.python-version }}-*" @@ -96,9 +97,10 @@ jobs: shell: bash run: | COMMIT=$(cat mypy_commit) - git clone --recurse-submodules https://github.com/python/mypy.git + git clone https://github.com/python/mypy.git cd mypy - git checkout --force --recurse-submodules $COMMIT + git checkout $COMMIT + git submodule update --init --recursive - name: Run check-manifest run: | cd mypy