Skip to content

Uv project management #301

Uv project management

Uv project management #301

Workflow file for this run

name: Code stability
on:
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch:
concurrency:
group: stability-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
stability:
name: Code stability
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
enable-cache: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.13
- name: Install dependencies
run: uv sync --group dev
- name: Run ruff checks
uses: astral-sh/ruff-action@v3
with:
src: "./src"
- name: Run ruff format checks
uses: astral-sh/ruff-action@v3
with:
src: "./src"
args: "format --check --diff"
- name: Run mypy checks
run: uv run mypy --explicit-package-bases src/