Skip to content

Merge pull request #75 from GPTStonks/enh/add-flexibility-to-mitheith… #87

Merge pull request #75 from GPTStonks/enh/add-flexibility-to-mitheith…

Merge pull request #75 from GPTStonks/enh/add-flexibility-to-mitheith… #87

# 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-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: 3.10.9
- name: Install pre-commit
run: pdm install -dG default
- name: Run pre-commit
run: pdm run pre-commit run --show-diff-on-failure --color=always --all-files