File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -35,31 +35,30 @@ jobs:
3535 if : steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
3636 run : echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
3737
38- - name : Install poetry
38+ - name : Install uv
39+ uses : astral-sh/setup-uv@v3
3940 if : env.PUBLISH == 'true'
40- run : pipx install "poetry==1.8.4"
41+ with :
42+ enable-cache : true
4143
4244 - name : Set up Python ${{ matrix.python-version }}
4345 if : env.PUBLISH == 'true'
44- uses : actions/setup-python@v5
45- with :
46- python-version : ${{ matrix.python-version }}
47- cache : ' poetry'
46+ run : uv python install ${{ matrix.python-version }}
4847
49- - name : Install dependencies [w/ docs]
48+ - name : Install dependencies
5049 if : env.PUBLISH == 'true'
51- run : poetry install --with=docs,lint
50+ run : uv sync --all-extras --dev
5251
5352 - name : Print python versions
5453 if : env.PUBLISH == 'true'
5554 run : |
5655 python -V
57- poetry run python -V
56+ uv run python -V
5857
5958 - name : Build documentation
6059 if : env.PUBLISH == 'true'
6160 run : |
62- pushd docs; make SPHINXBUILD='poetry run sphinx-build' html; popd
61+ pushd docs; make SPHINXBUILD='uv run sphinx-build' html; popd
6362
6463 - name : Push documentation to S3
6564 if : env.PUBLISH == 'true'
You can’t perform that action at this time.
0 commit comments