Skip to content

Commit fb3063c

Browse files
committed
Update GitHub Actions workflow to checkout submodules recursively
Signed-off-by: Fabian Hartung <[email protected]>
1 parent f7d4736 commit fb3063c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/linkcheck.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- name: Checkout repository with submodules
15+
uses: actions/checkout@v4
16+
with:
17+
submodules: recursive
18+
fetch-depth: 0
19+
20+
- name: Initialize and update submodules
21+
run: git submodule update --init --recursive
1522
# This external action cares about all the sphinx stuff
16-
- uses: ammaraskar/[email protected]
23+
- name: Build project
24+
uses: ammaraskar/[email protected]
1725
with:
1826
build-command: "sphinx-build -b linkcheck source/ build/"
1927
docs-folder: "docs/"

0 commit comments

Comments
 (0)