Skip to content

chore(ci): add Ruff linting workflow #10

chore(ci): add Ruff linting workflow

chore(ci): add Ruff linting workflow #10

Workflow file for this run

name: Ruff
on:
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Debug info
run: |
which python
python --version
echo "PATH=$PATH"
- name: Install uv
run: |
python -m pip install --upgrade pip
python -m pip install uv
echo "$HOME/.local/bin" >> $GITHUB_PATH
uv --version
- name: Install dependencies
run: uv sync
- name: Run Ruff
run: uv run ruff check --output-format=github .