From bbb28c741f902fb585d2c13b786e029018ebfde8 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto <cyjan@mrcyjanek.net> Date: Sun, 5 Jan 2025 18:34:40 +0100 Subject: [PATCH] ci: unshallow submodules --- .github/workflows/full_check.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/full_check.yaml b/.github/workflows/full_check.yaml index 5050a1d..733785a 100644 --- a/.github/workflows/full_check.yaml +++ b/.github/workflows/full_check.yaml @@ -160,6 +160,8 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }}-${{ matrix.coin }} + - name: Unshallow submodules + run: git submodule foreach --recursive 'git fetch --unshallow || echo "Not a shallow submodule"' - name: Cache built if: ${{ !startsWith(github.ref, 'refs/tags/v') }} uses: actions/cache@v4 @@ -207,10 +209,10 @@ jobs: submodules: recursive - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '15.4' + xcode-version: '16.1' - name: install dependencies run: | - brew install ccache binutils pigz autoconf automake libtool pkg-config + brew install ccache binutils pigz autoconf automake libtool pkg-config git - name: Patch sources run: | git config --global --add safe.directory '*' @@ -221,6 +223,8 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ github.job }}-${{ matrix.coin }} + - name: Unshallow submodules + run: git submodule foreach --recursive 'git fetch --unshallow || echo "Not a shallow submodule"' - name: Cache built if: ${{ !startsWith(github.ref, 'refs/tags/v') }} uses: actions/cache@v4