Skip to content

📝minor formatting changes #23

📝minor formatting changes

📝minor formatting changes #23

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint-typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Cache uv environments
uses: actions/cache@v3
with:
path: ~/.cache/uv
key: uv-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
uv-${{ runner.os }}-
- name: Install tools with uv - ruff
run: uv tool install ruff
- name: Install mypy with uv
run: uv tool install mypy
- name: Ruff lint
run: ruff check .
- name: Ruff format check
run: ruff format --check .
- name: Mypy type checking
run: mypy .
- name: Markdown lint
uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: |
**/*.md