diff options
Diffstat (limited to '.github/workflows/docs.yml')
| -rw-r--r-- | .github/workflows/docs.yml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6deb8984..eb432751 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,24 +11,22 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v5 - with: - python-version: "3.10" - cache: "pip" - cache-dependency-path: | - requirements/dev_requirements.txt - name: apt-get update run: sudo apt-get update - name: Install external dependencies run: sudo apt-get install build-essential libpoppler-cpp-dev pkg-config python3-dev -y - - name: Install sec-certs and deps + - name: Install uv and Python + uses: astral-sh/setup-uv@v6 + with: + python-version: ${{ matrix.python-version }} + enable-cache: true + - name: Install sec-certs run: | - pip install -r requirements/dev_requirements.txt - pip install -e . + uv sync --locked --dev - name: Build docs run: | cd docs - make html + uv run make html - name: Save docs artifact uses: actions/upload-artifact@v4.4.0 with: |
