Skip to content

Commit

Permalink
Submodules via actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jul 29, 2024
1 parent d978f76 commit 7725d85
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- run: git fetch --tags --force
name: Force-fetch tags to work around actions/checkout#290
# We can't use `--depth 1` here sadly because the GNU config
# submodule is not pinned to a particular tag/branch. Please
# 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

# 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 @@ -264,9 +259,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- run: git fetch --tags --force
name: Force-fetch tags to work around actions/checkout#290
- run: git submodule update --init --depth 32 --jobs 3
- name: Setup `wasmtime` for tests
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
Expand Down

0 comments on commit 7725d85

Please sign in to comment.