.github/workflows/lint.yml
raw| 1 | # .github/workflows/lint.yml |
| 2 | name: Run Lint Checks |
| 3 | |
| 4 | on: |
| 5 | push: |
| 6 | paths: |
| 7 | - '**.py' |
| 8 | pull_request: |
| 9 | paths: |
| 10 | - '**.py' |
| 11 | |
| 12 | jobs: |
| 13 | lint: |
| 14 | runs-on: ubuntu-latest |
| 15 | |
| 16 | steps: |
| 17 | - uses: actions/checkout@v7 |
| 18 | |
| 19 | - name: Set up Python |
| 20 | uses: actions/setup-python@v7 |
| 21 | with: |
| 22 | python-version: '3.12' |
| 23 | |
| 24 | - name: Install tox |
| 25 | run: python -m pip install tox |
| 26 | |
| 27 | - name: Run Ruff lint check |
| 28 | run: tox -e lint |