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

Commit f5572ec

Browse files
committed
Ubnutu 20.04 is deprecated
1 parent c53bc4a commit f5572ec

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-9
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 2 deletions
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
@@ -26,7 +26,10 @@ jobs:
2626
with:
2727
version: "latest"
2828
- name: Install Dependencies
29-
run: uv sync
29+
run: |
30+
wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json
31+
uv python install --python-downloads-json-url ./download-metadata.json
32+
uv sync
3033
- name: Build
3134
run: ./build.sh --deploy
3235
- name: Artifacts

.github/workflows/ci.yaml

Lines changed: 15 additions & 6 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
@@ -21,7 +21,10 @@ jobs:
2121
with:
2222
version: "latest"
2323
- name: install dependencies
24-
run: uv sync
24+
run: |
25+
wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json
26+
uv python install --python-downloads-json-url ./download-metadata.json
27+
uv sync
2528
- name: lint
2629
run: uv run ruff check src/
2730
- name: auto fix
@@ -32,7 +35,7 @@ jobs:
3235
uses: parkerbxyz/suggest-changes@v1.0.4
3336

3437
ruff-format:
35-
runs-on: 'ubuntu-20.04'
38+
runs-on: 'ubuntu-24.04'
3639

3740
steps:
3841
- name: checkout
@@ -42,7 +45,10 @@ jobs:
4245
with:
4346
version: "latest"
4447
- name: install dependencies
45-
run: uv sync
48+
run: |
49+
wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json
50+
uv python install --python-downloads-json-url ./download-metadata.json
51+
uv sync
4652
- name: format
4753
run: uv run ruff format --check src/
4854
- name: auto fix
@@ -53,7 +59,7 @@ jobs:
5359
uses: parkerbxyz/suggest-changes@v1.0.4
5460

5561
mypy:
56-
runs-on: 'ubuntu-20.04'
62+
runs-on: 'ubuntu-24.04'
5763

5864
steps:
5965
- name: checkout
@@ -63,6 +69,9 @@ jobs:
6369
with:
6470
version: "latest"
6571
- name: install dependencies
66-
run: uv sync
72+
run: |
73+
wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json
74+
uv python install --python-downloads-json-url ./download-metadata.json
75+
uv sync
6776
- name: type check
6877
run: uv run mypy --disable-error-code "import" src/

.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)