.github/workflows/pre-commit.yml
raw| 1 | name: Linting |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: main |
| 6 | pull_request: |
| 7 | branches: main |
| 8 | |
| 9 | jobs: |
| 10 | checks: |
| 11 | name: pre-commit hooks |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - uses: actions/checkout@v4 |
| 15 | - uses: actions/setup-python@v4 |
| 16 | with: |
| 17 | python-version: '3.9' |
| 18 | - uses: pre-commit/[email protected] |