File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,25 @@ jobs:
49
49
- 'pyproject.toml'
50
50
- 'invokeai/**'
51
51
52
+ - name : setup uv
53
+ if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
54
+ uses : astral-sh/setup-uv@v5
55
+ with :
56
+ version : ' 0.6.4'
57
+ enable-cache : true
58
+ python-version : ' 3.11'
59
+
52
60
- name : setup python
53
61
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
54
62
uses : actions/setup-python@v5
55
63
with :
56
- python-version : ' 3.10'
57
- cache : pip
58
- cache-dependency-path : pyproject.toml
64
+ python-version : ' 3.11'
59
65
60
- - name : install python dependencies
66
+ - name : install dependencies
61
67
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
62
- run : pip3 install --use-pep517 --editable="."
68
+ env :
69
+ UV_INDEX : ${{ matrix.extra-index-url }}
70
+ run : uv pip install --editable .
63
71
64
72
- name : install frontend dependencies
65
73
if : ${{ steps.changed-files.outputs.src_any_changed == 'true' || inputs.always_run == true }}
You can’t perform that action at this time.
0 commit comments