Skip to content

Commit

Permalink
Add GHA for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
RCoff committed Dec 26, 2024
1 parent 19fb0e4 commit 87fdfc4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Linting

on: [ push, pull_request ]

jobs:
lint:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ "3.6.9", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Lint
run: |
python -m ruff check

0 comments on commit 87fdfc4

Please sign in to comment.