build(deps-dev): bump pre-commit from 3.4.0 to 3.6.0 #102
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "" | |