This repository was archived by the owner on Mar 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +25
-5
lines changed
Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 1+ name : ' Install Python via UV'
2+ description : ' Installs the requested python version via UV. This action expects uv to be setup.'
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : Download Python Version info
7+ run : wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json
8+ shell : bash
9+
10+ - name : Install requested python version
11+ run : uv python install --python-downloads-json-url ./download-metadata.json
12+ shell : bash
Original file line number Diff line number Diff line change 1313
1414jobs :
1515 build :
16- runs-on : ubuntu-20 .04
16+ runs-on : ubuntu-24 .04
1717
1818 steps :
1919 - name : checkout
2525 uses : astral-sh/setup-uv@v5
2626 with :
2727 version : " latest"
28+ - name : Install python
29+ uses : ./.github/actions/python-version
2830 - name : Install Dependencies
2931 run : uv sync
3032 - name : Build
Original file line number Diff line number Diff line change 1111 uses : ./.github/workflows/build.yaml
1212
1313 ruff-lint :
14- runs-on : ' ubuntu-20 .04'
14+ runs-on : ' ubuntu-24 .04'
1515
1616 steps :
1717 - name : checkout
2020 uses : astral-sh/setup-uv@v5
2121 with :
2222 version : " latest"
23+ - name : install python
24+ uses : ./.github/actions/python-version
2325 - name : install dependencies
2426 run : uv sync
2527 - name : lint
3234 uses : parkerbxyz/suggest-changes@v1.0.4
3335
3436 ruff-format :
35- runs-on : ' ubuntu-20 .04'
37+ runs-on : ' ubuntu-24 .04'
3638
3739 steps :
3840 - name : checkout
4143 uses : astral-sh/setup-uv@v5
4244 with :
4345 version : " latest"
46+ - name : install python
47+ uses : ./.github/actions/python-version
4448 - name : install dependencies
4549 run : uv sync
4650 - name : format
5357 uses : parkerbxyz/suggest-changes@v1.0.4
5458
5559 mypy :
56- runs-on : ' ubuntu-20 .04'
60+ runs-on : ' ubuntu-24 .04'
5761
5862 steps :
5963 - name : checkout
6266 uses : astral-sh/setup-uv@v5
6367 with :
6468 version : " latest"
69+ - name : install python
70+ uses : ./.github/actions/python-version
6571 - name : install dependencies
6672 run : uv sync
6773 - name : type check
Original file line number Diff line number Diff line change 2020
2121 create-release :
2222 needs : build
23- runs-on : ubuntu-20 .04
23+ runs-on : ubuntu-24 .04
2424
2525 steps :
2626 - name : download all artifacts
You can’t perform that action at this time.
0 commit comments