Skip to content

build(deps): bump docker/build-push-action from eb539f44b153603ccbfbd98e2ab9d4d0dcaf23a4 to a8d35412fb758de9162fd63e3fa3f0942bdedb4d #138

build(deps): bump docker/build-push-action from eb539f44b153603ccbfbd98e2ab9d4d0dcaf23a4 to a8d35412fb758de9162fd63e3fa3f0942bdedb4d

build(deps): bump docker/build-push-action from eb539f44b153603ccbfbd98e2ab9d4d0dcaf23a4 to a8d35412fb758de9162fd63e3fa3f0942bdedb4d #138

Workflow file for this run

name: pre-commit + migration check
on:
pull_request:
push:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: pre-commit/[email protected]
migrations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: "pipenv"
- name: Install Dependencies
run: |
python -m pip install --upgrade pipenv
pipenv sync
- name: Test for missing migrations
run: pipenv run python manage.py makemigrations --check
env:
DEBUG: True
DATABASE_URL: "sqlite://:memory:"
TROJSTEN_LOGIN_CLIENT: ""
TROJSTEN_LOGIN_SECRET: ""
RECAPTCHA_PUBLIC: ""
RECAPTCHA_PRIVATE: ""
OIDC_KEY: ""