Skip to content

chore(ci): add Ruff linting workflow #3

chore(ci): add Ruff linting workflow

chore(ci): add Ruff linting workflow #3

Workflow file for this run

name: Ruff
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt;
- name: Run Ruff linter
run: |
ruff check --output-format=github .
- name: Run Ruff formatter
run: |
ruff format --diff .