check sparse checkout in CI

This commit is contained in:
Alexander Tokmakov 2023-03-31 17:47:23 +02:00
parent 2ab198f19d
commit ee3da3854a

View File

@ -550,6 +550,11 @@ jobs:
with:
clear-repository: true
submodules: true
- name: Apply sparse checkout for contrib # in order to check that it doesn't break build
run: |
rm -rf "$GITHUB_WORKSPACE/contrib"
git -c "$GITHUB_WORKSPACE" checkout .
"$GITHUB_WORKSPACE/contrib/update-submodules.sh"
- name: Build
run: |
sudo rm -fr "$TEMP_PATH"