Skip to content

run lint & format, add ci pipeline #3

run lint & format, add ci pipeline

run lint & format, add ci pipeline #3

Workflow file for this run

name: CI
on:
push:
branches: [ main, ci-test ]
jobs:
check:
name: Lint & format (ruff)
runs-on: ubuntu-22.04
steps:
- name: Install system deps
run: |
sudo apt-get update
sudo apt-get install -y \
libsasl2-dev \
libldap2-dev \
libssl-dev \
gcc \
xvfb
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Sync dev dependencies
run: uv sync --frozen --dev
- name: Ruff check
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check .
- name: mypy check
run: uv run mypy lemur