Skip to content

Commit 032021e

Browse files
committed
update the Pages workflow with extra modules
Additionally the module must be built first, in order to auto-generate API docs from it.
1 parent 18c8a19 commit 032021e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/Pages.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ jobs:
77
deploy:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: actions/setup-python@v4
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-python@v5
1212
with:
1313
python-version: 3.x
14-
- run: pip install mkdocs
14+
- run: pip install maturin mkdocs mkdocs-autorefs mkdocstrings mkdocstrings-python ruff
15+
- run: maturin build
16+
- run: pip install target/wheels/*.whl
1517
- run: mkdocs gh-deploy --force --clean --verbose
1618
env:
1719
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/Test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
linux:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
- name: Set up Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: '3.x'
2525
- name: Install dependencies

0 commit comments

Comments
 (0)