Merge pull request #75 from GPTStonks/enh/add-flexibility-to-mitheith… #87
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
# 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 |