Skip to content

build(deps-dev): bump pre-commit from 3.4.0 to 3.6.0 #102

build(deps-dev): bump pre-commit from 3.4.0 to 3.6.0

build(deps-dev): bump pre-commit from 3.4.0 to 3.6.0 #102

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@v4
with:
python-version: '3.11'
- uses: pre-commit/[email protected]
migrations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
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: ""