fix: fixed redundant admin.py display for deleted model #191
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| ENVIRONMENT: development | |
| SECRET_KEY: dev-fallback-key-do-not-use-in-production | |
| DATABASE_URL: sqlite:///db.sqlite3 | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "latest" | |
| version-file: "pyproject.toml" | |
| - name: Install dependencies | |
| run: | | |
| uv sync --dev | |
| - name: Run Ruff | |
| run: | | |
| uv run ruff check | |
| - name: Run isort | |
| run: | | |
| uv run isort --check-only --diff . | |
| - name: Run Mypy | |
| run: | | |
| uv run mypy . --show-error-context --pretty | |
| - name: Run pip-audit | |
| run: | | |
| uv run pip-audit | |
| - name: Run bandit | |
| run: | | |
| uv run bandit -c pyproject.toml -r . |