From 161e14f9b3a48080fc002956f618500b3809a326 Mon Sep 17 00:00:00 2001 From: AdithyaSireesh Date: Tue, 6 May 2025 06:08:49 +0100 Subject: [PATCH] ci: update GitHub Actions workflow to use uv for dependency installation --- .github/workflows/docs.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f4100ee..c07d728 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,14 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install sphinx myst-parser sphinx-rtd-theme + - name: Set up uv + uses: astral-sh/setup-uv@v5 + - name: Install the project + run: uv sync - name: Build HTML run: sphinx-build -b html docs/source docs/_build/html - name: Deploy to GitHub Pages