Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Commit 4426f7f

Browse files
committed
Ubnutu 20.04 is deprecated
1 parent c53bc4a commit 4426f7f

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
build:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-24.04
1717

1818
steps:
1919
- name: checkout
@@ -25,6 +25,8 @@ jobs:
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

.github/workflows/ci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
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
@@ -20,6 +20,8 @@ jobs:
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
@@ -32,7 +34,7 @@ jobs:
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
@@ -41,6 +43,8 @@ jobs:
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
@@ -53,7 +57,7 @@ jobs:
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
@@ -62,6 +66,8 @@ jobs:
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

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
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

0 commit comments

Comments
 (0)