diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3d5978b..b5ba3c6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,17 +14,14 @@ on: jobs: build: runs-on: ubuntu-latest + env: + UV_PYTHON: 3.12 steps: - uses: actions/checkout@v4 - with: - fetch-depth: '0' - - uses: actions/setup-python@v5 - with: - python-version: 3.12 - - run: python3 -m pip install -U pip - - run: python3 -m pip install -r docs/requirements.txt - - run: python3 -m pip install . - - run: mkdocs build --strict -d site + - uses: extractions/setup-just@v2 + - run: curl -LsSf https://astral.sh/uv/install.sh | sh + - run: uv sync + - run: just mkdocs build --strict -d site - uses: actions/upload-pages-artifact@v3 with: path: "site/"