This repository was archived by the owner on Mar 1, 2026. It is now read-only.
Ubuntu 20.04 is deprecated #97
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/build.yaml | |
| ruff-lint: | |
| runs-on: 'ubuntu-24.04' | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| - name: install dependencies | |
| run: | | |
| wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json | |
| uv python install --python-downloads-json-url ./download-metadata.json | |
| uv sync | |
| - name: lint | |
| run: uv run ruff check src/ | |
| - name: auto fix | |
| if: ${{ failure() }} | |
| run: uv run ruff check --fix src/ | |
| - name: suggest changes | |
| if: ${{ failure() }} | |
| uses: parkerbxyz/suggest-changes@v1.0.4 | |
| ruff-format: | |
| runs-on: 'ubuntu-24.04' | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| - name: install dependencies | |
| run: | | |
| wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json | |
| uv python install --python-downloads-json-url ./download-metadata.json | |
| uv sync | |
| - name: format | |
| run: uv run ruff format --check src/ | |
| - name: auto fix | |
| if: ${{ failure() }} | |
| run: uv run ruff format src/ | |
| - name: suggest changes | |
| if: ${{ failure() }} | |
| uses: parkerbxyz/suggest-changes@v1.0.4 | |
| mypy: | |
| runs-on: 'ubuntu-24.04' | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| - name: install dependencies | |
| run: | | |
| wget https://raw.githubusercontent.com/astral-sh/uv/refs/tags/0.6.17/crates/uv-python/download-metadata.json | |
| uv python install --python-downloads-json-url ./download-metadata.json | |
| uv sync | |
| - name: type check | |
| run: uv run mypy --disable-error-code "import" src/ |