Skip to content

fix(frontend): deep-dive — timezone-stable Quick Insights + cohort bu… #12

fix(frontend): deep-dive — timezone-stable Quick Insights + cohort bu…

fix(frontend): deep-dive — timezone-stable Quick Insights + cohort bu… #12

Workflow file for this run

name: Run Database Migrations
on:
push:
branches: [main]
paths:
- 'backend/alembic/**'
- 'backend/src/ledger_sync/db/migrations/**'
- 'backend/src/ledger_sync/db/models.py'
workflow_dispatch: # Allow manual trigger
jobs:
migrate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.14'
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8
- name: Install dependencies
working-directory: backend
run: uv sync --no-group dev
- name: Run Alembic migrations
working-directory: backend
env:
LEDGER_SYNC_DATABASE_URL: ${{ secrets.LEDGER_SYNC_DATABASE_URL }}
run: uv run alembic upgrade head