diff --git a/.github/workflows/render-docs.yml b/.github/workflows/render-docs.yml index 5241489d..fd9d732b 100644 --- a/.github/workflows/render-docs.yml +++ b/.github/workflows/render-docs.yml @@ -20,16 +20,20 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest + defaults: + run: + working-directory: python-wrapper + # Steps represent a sequence of tasks that will be executed as part of the job steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - name: Install uv and set the Python version + uses: astral-sh/setup-uv@v6 with: python-version: "3.11" - cache: "pip" - cache-dependency-path: pyproject.toml - - run: pip install "python-wrapper/[dev, pandas, gds, snowflake, docs]" + enable-cache: true + - run: uv sync --extra dev --extra pandas --extra neo4j --extra gds --extra snowflake --extra docs - name: Setup pandoc uses: pandoc/actions/setup@v1 @@ -37,4 +41,4 @@ jobs: version: 3.6.2 - name: Render ref docs - run: ./scripts/render_docs.sh + run: uv run bash ../scripts/render_docs.sh