File tree Expand file tree Collapse file tree 2 files changed +17
-16
lines changed
Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - name : checkout
12- uses : actions/checkout@v4
12+ uses : actions/checkout@v6
1313
14- - name : python
15- uses : actions/setup-python@v5
16- with :
17- python-version : " 3.10"
14+ - name : Install uv
15+ uses : astral-sh/setup-uv@v7
1816
19- - name : dependencies
20- run : |
21- python -m pip install --upgrade pip
22- pip install -e '.[dev]'
17+ - name : Set up Python
18+ run : uv python install
19+
20+ - name : Dependencies
21+ run : uv sync --all-extras --dev
2322
2423 - name : Format
2524 run : |
Original file line number Diff line number Diff line change @@ -18,21 +18,23 @@ jobs:
1818 steps :
1919 - name : Checkout
2020 id : checkout
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v6
2222 with :
2323 fetch-depth : 0
2424
25- - name : Setup Python
26- id : python
27- uses : actions/setup-python@v5
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@v7
2827 with :
29- python-version : ' 3.10'
28+ activate-environment : true
29+
30+ - name : Set up Python
31+ run : uv python install
3032
3133 - name : Build
3234 id : build
3335 run : |
34- python -m pip install '.[ build]'
35- python -m build
36+ uv sync --group= build
37+ uv run -m build
3638 twine check --strict dist/*
3739
3840 - name : Publish on PyPI
You can’t perform that action at this time.
0 commit comments