Skip to content

Add section on code quality #3

Add section on code quality

Add section on code quality #3

# Same as `code-quality-pr.yaml` but triggered on commit to main branch
# and runs on all files (instead of only the changed ones)
name: Code Quality Main
on:
push:
branches: [main]
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Run pre-commits
uses: pre-commit/[email protected]