Skip to content

Commit b39e71c

Browse files
authored
recursive clone for submodules (#415)
We need the json files from the spec tests to actually run the tests, so we have to adjust CI so that it also clones all of the needed files
1 parent 5f4b4bc commit b39e71c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test-suite.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
runs-on: ubuntu-22.04 #${{ github.repository == 'sigp/anchor' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-22.04' }}
7474
steps:
7575
- uses: actions/checkout@v4
76+
with:
77+
submodules: 'recursive'
7678
- name: Get latest version of stable Rust
7779
if: env.SELF_HOSTED_RUNNERS == 'false'
7880
uses: moonrepo/setup-rust@v1
@@ -97,6 +99,8 @@ jobs:
9799
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98100
steps:
99101
- uses: actions/checkout@v4
102+
with:
103+
submodules: 'recursive'
100104
- name: Get latest version of stable Rust
101105
if: env.SELF_HOSTED_RUNNERS == 'false'
102106
uses: moonrepo/setup-rust@v1
@@ -145,7 +149,7 @@ jobs:
145149
run: CARGO_HOME=$(readlink -f $HOME) make vendor
146150
- name: Markdown-linter
147151
run: make mdlint
148-
152+
149153
check-msrv:
150154
name: check-msrv
151155
runs-on: ubuntu-22.04
@@ -187,12 +191,12 @@ jobs:
187191
runs-on: ubuntu-22.04
188192
steps:
189193
- uses: actions/checkout@v4
190-
# Uses the canonical version so that the version is up to date:
194+
# Uses the canonical version so that the version is up to date:
191195
# https://github.com/rojopolis/spellcheck-github-actions?tab=readme-ov-file#using-a-canonical-version
192196
- uses: rojopolis/spellcheck-github-actions@0.46.0
193197
with:
194198
config_path: .github/spellcheck.yml
195-
output_file: spellcheck-output.txt
199+
output_file: spellcheck-output.txt
196200
# cli-check:
197201
# name: cli-check
198202
# needs: [check-labels]

0 commit comments

Comments
 (0)