Skip to content

Commit

Permalink
Clone a larger depth in submodules
Browse files Browse the repository at this point in the history
This is an attempt to fix CI errors where the `config` submodule is now
located on a commit further than 32 commits behind the main branch
(presumably).
  • Loading branch information
alexcrichton committed Jul 29, 2024
1 parent 084efa0 commit 6594e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# bump depth (or even better, the submodule), in case of "error:
# Server does not allow request for unadvertised object" in the
# future.
- run: git submodule update --init --depth 32 --jobs 3
- run: git submodule update --init --depth 64 --jobs 3

# Persist ccache-based caches across builds. This directory is configured
# via the CCACHE_DIR env var below for ccache to use.
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
fetch-depth: 0
- run: git fetch --tags --force
name: Force-fetch tags to work around actions/checkout#290
- run: git submodule update --init --depth 32 --jobs 3
- run: git submodule update --init --depth 64 --jobs 3
- name: Setup `wasmtime` for tests
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
Expand Down

0 comments on commit 6594e02

Please sign in to comment.