File tree Expand file tree Collapse file tree 5 files changed +21
-4
lines changed
Expand file tree Collapse file tree 5 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 1+ name : ' Setup Python and uv'
2+ description : ' Configures a Python version and uv'
3+ inputs :
4+ python-version :
5+ type : string
6+ required : true
7+ runs :
8+ using : " composite"
9+ steps :
10+ - uses : actions/setup-python@v6
11+ with :
12+ python-version : ${{ inputs.python-version }}
13+ - name : Setup Python with UV
14+ uses : astral-sh/setup-uv@v7
15+ with :
16+ python-version : ${{ inputs.python-version }}
17+ enable-cache : " true"
Original file line number Diff line number Diff line change 1414 using : " composite"
1515 steps :
1616 - name : Setup Python with UV
17- uses : astral-sh/setup -uv@v7
17+ uses : ./.github/actions/python -uv
1818 with :
1919 python-version : ${{ inputs.python-version }}
2020 - name : Install system dependencies
Original file line number Diff line number Diff line change 3030 with :
3131 fetch-depth : 0
3232 - name : Setup Python with UV
33- uses : astral-sh/setup -uv@v7
33+ uses : ./.github/actions/python -uv
3434 with :
3535 python-version : ${{ matrix.python }}
3636 - name : Install dependencies
Original file line number Diff line number Diff line change 2929 with :
3030 fetch-depth : 0
3131 - name : Setup Python with UV
32- uses : astral-sh/setup -uv@v7
32+ uses : ./.github/actions/python -uv
3333 with :
3434 python-version : ${{ matrix.python }}
3535 - name : Install dependencies
Original file line number Diff line number Diff line change 2828 with :
2929 fetch-depth : 0
3030 - name : Setup Python with UV
31- uses : astral-sh/setup -uv@v7
31+ uses : ./.github/actions/python -uv
3232 with :
3333 python-version : ${{ matrix.python }}
3434 - name : Install dependencies
You can’t perform that action at this time.
0 commit comments