File tree 2 files changed +13
-8
lines changed
2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 14
14
with :
15
15
fetch-depth : 0
16
16
17
- - name : Build sdist
18
- run : pipx run build
17
+ - name : Install uv and Python 3
18
+ uses : astral-sh/setup-uv@v5
19
+ with :
20
+ enable-cache : true
21
+
22
+ - name : Build packages
23
+ run : uv build
19
24
20
25
- uses : actions/upload-artifact@v4
21
26
with :
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ permissions:
13
13
14
14
jobs :
15
15
build :
16
-
17
16
runs-on : ubuntu-latest
18
17
strategy :
19
18
fail-fast : false
@@ -25,13 +24,14 @@ jobs:
25
24
with :
26
25
fetch-depth : 0
27
26
28
- - name : Set up Python ${{ matrix.python-version }}
29
- uses : actions /setup-python @v5
27
+ - name : Install uv and Python ${{ matrix.python-version }}
28
+ uses : astral-sh /setup-uv @v5
30
29
with :
31
30
python-version : ${{ matrix.python-version }}
31
+ enable-cache : true
32
32
33
- - name : Install dependencies
34
- run : python -m pip install .[test]
33
+ - name : Install the project
34
+ run : uv sync --dev
35
35
36
36
- name : Run tests
37
- run : python -m pytest
37
+ run : uv run pytest
You can’t perform that action at this time.
0 commit comments