Skip to content

feat(db)!: hazard_type come dimensione di prima classe, tabelle calde partizionate #164

feat(db)!: hazard_type come dimensione di prima classe, tabelle calde partizionate

feat(db)!: hazard_type come dimensione di prima classe, tabelle calde partizionate #164

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
concurrency:
group: pre-commit-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Sync dependencies (all groups)
# The local mypy hook runs `uv run mypy` against this venv, so the
# real third-party stubs (httpx, structlog, fastapi, torch, …) are
# present — an isolated hook would flood with import-not-found.
run: uv sync --all-groups
- name: Restore pre-commit cache
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run all hooks on the full tree
# `--all-files` so a missed pre-commit on the contributor's
# machine still gets caught here.
run: uvx pre-commit run --all-files --show-diff-on-failure