Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/actions/install-python/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Install Python via UV'
description: 'Installs the requested python version via UV. This action expects uv to be setup.'
runs:
using: "composite"
steps:
- name: Download Python Version info
run: wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json
shell: bash

- name: Install requested python version
run: uv python install --python-downloads-json-url ./download-metadata.json
shell: bash
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- name: checkout
Expand All @@ -25,6 +25,8 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Install python
uses: ./.github/actions/install-python
- name: Install Dependencies
run: uv sync
- name: Build
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: ./.github/workflows/build.yaml

ruff-lint:
runs-on: 'ubuntu-20.04'
runs-on: 'ubuntu-24.04'

steps:
- name: checkout
Expand All @@ -20,6 +20,8 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: install python
uses: ./.github/actions/install-python
- name: install dependencies
run: uv sync
- name: lint
Expand All @@ -32,7 +34,7 @@ jobs:
uses: parkerbxyz/suggest-changes@v1.0.4

ruff-format:
runs-on: 'ubuntu-20.04'
runs-on: 'ubuntu-24.04'

steps:
- name: checkout
Expand All @@ -41,6 +43,8 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: install python
uses: ./.github/actions/install-python
- name: install dependencies
run: uv sync
- name: format
Expand All @@ -53,7 +57,7 @@ jobs:
uses: parkerbxyz/suggest-changes@v1.0.4

mypy:
runs-on: 'ubuntu-20.04'
runs-on: 'ubuntu-24.04'

steps:
- name: checkout
Expand All @@ -62,6 +66,8 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: install python
uses: ./.github/actions/install-python
- name: install dependencies
run: uv sync
- name: type check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

create-release:
needs: build
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- name: download all artifacts
Expand Down