Changed empty-string behavior of text inputs #2127
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
# This is a basic workflow to help you get started with Actions | |
name: Lint | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: ['*'] | |
types: | |
- opened | |
- synchronize | |
- closed | |
paths: | |
- 'backend/**' | |
- '.github/workflows/**' | |
- '.pylintrc' | |
- 'requirements.txt' | |
push: | |
branches: [main] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
backend-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: Black | |
run: black --check backend/ | |
- name: isort | |
run: isort backend/ --check --profile=black --src=backend/src | |
backend-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: pylint | |
run: pylint backend/ --output-format=colorized --disable="C,R" --fail-under=10 | |
backend-pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: Start backend to install dependencies | |
run: python ./backend/src/run.py --close-after-start --install-builtin-packages | |
- name: pyright | |
run: pyright backend/ |