Skip to content

Add GHA for linting

Add GHA for linting #1

Workflow file for this run

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