8000 Merge branch '4.4' into 5.0 · symfony/symfony-docs@c0a2c64 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0a2c64

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: speedup sphinx build/linting with caching doctrees and pip cache
2 parents a85e16d + 1d0f4aa commit c0a2c64
< 8000 /div>

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ jobs:
2929
- name: "Install Sphinx dependencies"
3030
run: sudo apt-get install python-dev build-essential
3131

32-
- name: "Install Sphinx"
33-
run: pip install --user sphinx
32+
- name: "Cache pip"
33+
uses: actions/cache@v1
34+
with:
35+
path: ~/.cache/pip
36+
key: ${{ runner.os }}-pip-${{ hashFiles('_build/.requirements.txt') }}
37+
restore-keys: |
38+
${{ runner.os }}-pip-
3439
35-
- name: "Install custom requirements via pip"
40+
- name: "Install Sphinx + requirements via pip"
3641
run: pip install -r _build/.requirements.txt
3742

3843
- name: "Build documentation"

0 commit comments

Comments
 (0)
0