diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 7a71a4a7ccf..efccc49c81d 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -22,13 +22,8 @@ jobs: - name: Clone repository uses: actions/checkout@v3 - - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 + with: + submodules: 'true' - name: Set up Python 3 uses: actions/setup-python@v3 diff --git a/.github/workflows/test_unit.yaml b/.github/workflows/test_unit.yaml index b2715135cd6..6beef211767 100644 --- a/.github/workflows/test_unit.yaml +++ b/.github/workflows/test_unit.yaml @@ -23,6 +23,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 + with: + submodules: 'true' - name: Install dependences run: | @@ -32,13 +34,6 @@ jobs: python3 -m pip install aqtinstall aqt install-qt --outputdir /opt linux desktop $QTVERSION gcc_64 -m all - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - - name: Cache grcov id: cache-grcov uses: actions/cache@v3 @@ -96,14 +91,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 - - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - + with: + submodules: 'true' - name: Install python dependencies shell: bash run: | @@ -177,13 +166,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 - - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 + with: + submodules: 'true' - name: Install Qt shell: bash diff --git a/.github/workflows/wasm.yaml b/.github/workflows/wasm.yaml index dd228296eb0..d6f4237890b 100644 --- a/.github/workflows/wasm.yaml +++ b/.github/workflows/wasm.yaml @@ -26,13 +26,8 @@ jobs: steps: - name: Clone repository uses: actions/checkout@v3 - - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 + with: + submodules: 'true' - name: Install Qt shell: bash