File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Docs
1+ name : Reusable Docs
22
33on :
44 workflow_call :
@@ -12,12 +12,15 @@ concurrency:
1212 cancel-in-progress : true
1313
1414jobs :
15- build_doc :
15+ build-doc :
1616 name : ' Docs'
1717 runs-on : ubuntu-latest
1818 timeout-minutes : 60
1919 steps :
20- - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20+ - name : ' Check out latest PR branch commit'
21+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22+ with :
23+ persist-credentials : false
2124 - name : ' Set up Python'
2225 uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2326 with :
2629 cache-dependency-path : ' Doc/requirements.txt'
2730 - name : ' Install build dependencies'
2831 run : make -C Doc/ venv
32+
33+ # To annotate PRs with Sphinx nitpicks (missing references)
2934 - name : ' Build HTML documentation'
3035 run : make -C Doc/ SPHINXOPTS="-q" SPHINXERRORHANDLING="-W --keep-going" html
3136 - name : ' Upload'
@@ -55,10 +60,12 @@ jobs:
5560 # Run "doctest" on HEAD as new syntax doesn't exist in the latest stable release
5661 doctest :
5762 name : ' Doctest'
58- runs-on : ubuntu-latest
63+ runs-on : ubuntu-24.04
5964 timeout-minutes : 60
6065 steps :
6166 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
67+ with :
68+ persist-credentials : false
6269 - uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6370 with :
6471 path : ~/.cache/pip
You can’t perform that action at this time.
0 commit comments