Bump django from 5.1.5 to 5.1.10 in /evergreen #164
Workflow file for this run
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: Linting | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| pull_request: | |
| branches: ["main", "dev"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./evergreen | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.12 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.12 | |
| - name: Install environment | |
| # poetry environment should include: | |
| # pip install flake8 | |
| # pip install black | |
| # pip install isort | |
| # pip install mypy | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install poetry | |
| poetry install | |
| - name: Sort imports with isort | |
| run: poetry run isort -c . | |
| - name: Format with black | |
| run: poetry run black --check . | |
| # configured in .flake8 | |
| - name: Lint with flake8 | |
| run: poetry run flake8 | |
| - name: Check with mypy | |
| run: poetry run mypy . |