File tree Expand file tree Collapse file tree 3 files changed +21
-18
lines changed
Expand file tree Collapse file tree 3 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,16 @@ jobs:
1818 uses : actions/setup-python@v5
1919 with :
2020 python-version : " 3.12"
21-
22- - name : Install uv
23- uses : astral-sh/setup-uv@v7
24- with :
25- enable-cache : true
26- cache-dependency-glob : |
21+ cache : " pip"
22+ cache-dependency-path : |
2723 pyproject.toml
2824 **requirements.txt
2925
26+ - name : Install uv
27+ run : |
28+ python -m pip install --upgrade pip
29+ python -m pip install uv
30+
3031 - name : Build distribution 📦
3132 run : |
3233 uv run --no-project --with build python -m build --sdist --wheel --outdir dist
6768 uses : actions/setup-python@v5
6869 with :
6970 python-version : " 3.12"
71+ cache : " pip"
7072
7173 - name : Install uv
72- uses : astral-sh/setup-uv@v7
74+ run : |
75+ python -m pip install --upgrade pip
76+ python -m pip install uv
7377
7478 - name : Publish distribution 📦 to PyPI
7579 env :
Original file line number Diff line number Diff line change @@ -128,13 +128,14 @@ jobs:
128128 - uses : actions/setup-python@v5
129129 with :
130130 python-version : " 3.9"
131- - name : " Install uv"
132- uses : astral-sh/setup-uv@v7
133- with :
134- enable-cache : true
135- cache-dependency-glob : |
131+ cache : " pip"
132+ cache-dependency-path : |
136133 pyproject.toml
137134 **requirements.txt
135+ - name : " Install uv"
136+ run : |
137+ python -m pip install --upgrade pip
138+ python -m pip install uv
138139 - name : " Download coverage files"
139140 uses : actions/download-artifact@v4
140141 - name : " Calculate overall coverage"
Original file line number Diff line number Diff line change @@ -11,12 +11,10 @@ inputs:
1111runs :
1212 using : composite
1313 steps :
14- - uses : astral-sh/setup-uv@v7
15- with :
16- enable-cache : true
17- cache-dependency-glob : |
18- pyproject.toml
19- **requirements.txt
14+ - shell : bash
15+ run : |
16+ python -m pip install --upgrade pip
17+ python -m pip install uv
2018
2119 - shell : bash
2220 run : |
You can’t perform that action at this time.
0 commit comments