Skip to content

Commit 468fa4c

Browse files
committed
Turn on warnings as errors for Sphinx and pin actions to SHA
1 parent ac738c1 commit 468fa4c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/check_docs_build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repository
16-
uses: actions/checkout@v5
16+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
with:
18+
persist-credentials: false
1719

1820
- name: Set up Python
19-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2022
with:
2123
python-version: '3.11'
2224
cache: 'pip' # caching pip dependencies
@@ -27,4 +29,4 @@ jobs:
2729
- name: Build documentation
2830
run: |
2931
cd docs
30-
sphinx-build -b html docs/ docs/_build/html
32+
sphinx-build -W -b html docs/ docs/_build/html

0 commit comments

Comments
 (0)