Skip to content

Automated Liquibase diff generation from hibernate schema changes in development #25

Automated Liquibase diff generation from hibernate schema changes in development

Automated Liquibase diff generation from hibernate schema changes in development #25

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
installer-parallel: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Python dependencies
working-directory: server/intelligence-service
run: poetry lock --no-update && poetry install --no-interaction --no-root
- name: Check formatting with Black
working-directory: ./server/intelligence-service
run: poetry run black --check .