Skip to content

Configure ruff and UV #25

Configure ruff and UV

Configure ruff and UV #25

Workflow file for this run

on:
pull_request:
branches: [main, master]
push:
branches: [main, master]
name: lint
env:
PYTHONUNBUFFERED: "1"
UV_SYSTEM_PYTHON: 1
jobs:
lint-ruff:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: pyproject.toml
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
- name: Install dependencies
run: uv pip install . ruff
- name: Lint with ruff
run: ruff check --output-format=github .