Skip to content

Quality control on All branches #1

Quality control on All branches

Quality control on All branches #1

name: Code Quality Control
on:
pull_request:
branches: [main]
push:
branches: ['*']
jobs:
quality-check:
id: quality-check

Check failure on line 11 in .github/workflows/code-quality-control.yml

View workflow run for this annotation

GitHub Actions / Code Quality Control

Invalid workflow file

The workflow is not valid. .github/workflows/code-quality-control.yml (Line: 11, Col: 5): Unexpected value 'id'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit black pylint
- name: Run pre-commit
run: |
pre-commit run --all-files