AUT-2841 - add new radio button options into "A problem proving your identity" contact form #36
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-merge checks for Python | |
on: | |
pull_request: | |
paths: ["**/*.py"] | |
types: | |
- opened | |
- reopened | |
- ready_for_review | |
- synchronize | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.dev.txt | |
pip install -r scripts/requirements.txt | |
- name: Pylint | |
run: | | |
pylint -f actions $(git ls-files '*.py') | |
- name: Flake8 | |
run: | | |
flake8p --format github $(git ls-files '*.py') | |
- name: Black | |
run: | | |
black --check $(git ls-files '*.py') | |
- name: isort | |
run: | | |
isort --check-only $(git ls-files '*.py') |