File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed
Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v4
12- - name : Set up Python
13- uses : actions /setup-python@v5
12+ - name : Install uv & Python
13+ uses : astral-sh /setup-uv@v6
1414 with :
15- python-version : ' 3.x'
16- - name : Install dependencies
17- run : |
18- python -m pip install --upgrade pip
19- pip install poetry
20- poetry install
21- - run : poetry publish --build
15+ enable-cache : true
16+ cache-dependency-glob : " uv.lock"
17+ python-version-file : " pyproject.toml"
18+ - run : uv build
19+ - run : uv publish
2220 env :
23- POETRY_PYPI_TOKEN_PYPI : ${{secrets.POETRY_PYPI_TOKEN_PYPI}}
21+ UV_PUBLISH_TOKEN : ${{secrets.POETRY_PYPI_TOKEN_PYPI}}
Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ jobs:
2020 uses : actions/setup-python@v5
2121 with :
2222 python-version : ${{ matrix.python-version }}
23- - name : Install dependencies
24- run : |
25- python -m pip install --upgrade pip
26- pip install poetry
27- poetry install
23+ - name : Install uv & Python
24+ uses : astral-sh/setup-uv@v6
25+ with :
26+ enable-cache : true
27+ cache-dependency-glob : " uv.lock"
28+ python-version : ${{ matrix.python-version }}
2829 - name : Black source code formating check
2930 run : |
3031 poetry run black --check .
You can’t perform that action at this time.
0 commit comments