fix(ci): fix alembic DB import and golangci-lint version

- Move Base to app/models/base.py so alembic env.py can import it
  without triggering engine creation (which connects to hardcoded DB)
- Update all 13 models to import Base from app.models.base
- Pin golangci-lint to latest (supports Go 1.25)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-14 22:58:39 -05:00
parent ce8f5720d8
commit ac2a09e2bd
17 changed files with 27 additions and 23 deletions

View File

@@ -47,6 +47,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
working-directory: poller
frontend-lint: