Skip to content

Github workflows for ruff and pyright #2

Github workflows for ruff and pyright

Github workflows for ruff and pyright #2

Workflow file for this run

name: ruff
on:
push:
branches: [main]
pull_request:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
# with:
# enable-cache: true
- name: Setup Python
run: uv python install
- name: Install dependencies
run: |
uv pip install ruff
uv pip install -e ".[dev]"
- name: Run ruff format check
run: uv run ruff check .