File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
.github/actions/setup-python-env Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Setup Python Environment"
2+ description : " Set up Python environment for the given Python version"
3+
4+ inputs :
5+ python-version :
6+ description : " Python version to use"
7+ required : true
8+ default : " 3.13"
9+ uv-version :
10+ description : " uv version to use"
11+ required : true
12+ default : " 0.7.14"
13+
14+ runs :
15+ using : " composite"
16+ steps :
17+ - uses : actions/setup-python@v5
18+ with :
19+ python-version : ${{ inputs.python-version }}
20+
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v6
23+ with :
24+ version : ${{ inputs.uv-version }}
25+ enable-cache : ' true'
26+ cache-suffix : ${{ matrix.python-version }}
27+
28+ - name : Install Python dependencies
29+ run : uv sync --frozen
30+ shell : bash
You can’t perform that action at this time.
0 commit comments