File tree Expand file tree Collapse file tree 3 files changed +45
-1935
lines changed
Expand file tree Collapse file tree 3 files changed +45
-1935
lines changed Original file line number Diff line number Diff line change @@ -30,27 +30,11 @@ jobs:
3030 with :
3131 python-version : ' 3.11'
3232
33- - name : Install Poetry
34- uses : snok/install-poetry@v1
35- with :
36- version : latest
37- virtualenvs-create : true
38- virtualenvs-in-project : true
39-
40- - name : Load cached venv
41- id : cached-poetry-dependencies
42- uses : actions/cache@v3
43- with :
44- path : .venv
45- key : venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
46-
47- - name : Install dependencies
48- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
49- run : poetry install --only=dev
33+ - name : Install Hatch
34+ run : pip install hatch
5035
5136 - name : Build documentation
52- run : |
53- poetry run python -W ignore::DeprecationWarning:mkdocs_autorefs -m mkdocs build --clean --strict
37+ run : hatch run docs-build
5438
5539 - name : Setup Pages
5640 if : github.ref == 'refs/heads/master'
You can’t perform that action at this time.
0 commit comments