File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 46
46
uses : actions/setup-python@v5
47
47
with :
48
48
python-version : ${{ inputs.python-version }}
49
- cache : ' pip'
50
- cache-dependency-path : |
51
- **/requirements*.txt
52
- **/pyproject.toml
53
- **/poetry.lock
54
- **/Pipfile.lock
55
49
56
50
- name : Install uv
57
51
uses : astral-sh/setup-uv@v5
@@ -62,14 +56,14 @@ jobs:
62
56
id : get-uv-cache
63
57
run : echo "UV_CACHE_DIR=$(uv cache dir)" >> $GITHUB_OUTPUT
64
58
59
+ - name : Install dependencies
60
+ if : ${{ inputs.install-deps != 'none' }}
61
+ run : uv sync --extra ${{ inputs.install-deps }}
62
+
65
63
- name : Cache uv packages
66
64
uses : actions/cache@v4
67
65
with :
68
66
path : ${{ steps.get-uv-cache.outputs.UV_CACHE_DIR }}
69
67
key : ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml', '**/requirements*.txt') }}
70
68
restore-keys : |
71
69
${{ runner.os }}-uv-
72
-
73
- - name : Install dependencies
74
- if : ${{ inputs.install-deps != 'none' }}
75
- run : uv sync --extra ${{ inputs.install-deps }}
You can’t perform that action at this time.
0 commit comments