.github/workflows/lint.yml
raw| 1 | name: Linting |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | pull_request: |
| 6 | |
| 7 | # Allows you to run this workflow manually from the Actions tab |
| 8 | workflow_dispatch: |
| 9 | |
| 10 | jobs: |
| 11 | lint: |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - uses: actions/checkout@v4 |
| 15 | - uses: actions/setup-python@v5 |
| 16 | - name: Run pre-commit linting |
| 17 | uses: pre-commit/[email protected] |