docs: Improve docs #204
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: [main, dev] | |
push: | |
branches: [main] | |
jobs: | |
lint-format-offline: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: apps/second-brain-offline | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v4 | |
- name: 📦 Install uv | |
uses: astral-sh/setup-uv@v4 | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "apps/second-brain-offline/.python-version" | |
- name: 🦾 Install the project | |
run: | | |
uv sync --all-extras --dev | |
uv pip install -e . | |
- name: 💅 Format Check | |
run: | | |
uv run ruff format --check . | |
uv run ruff check -e | |
uv run ruff check --select I -e | |
- name: 🔎 Lint Check | |
run: uv run ruff check . | |
lint-format-online: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: apps/second-brain-online | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v4 | |
- name: 📦 Install uv | |
uses: astral-sh/setup-uv@v4 | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "apps/second-brain-online/.python-version" | |
- name: 🦾 Install the project | |
run: | | |
uv sync --all-extras --dev | |
uv pip install -e . | |
- name: 💅 Format Check | |
run: | | |
uv run ruff format --check . | |
uv run ruff check -e | |
uv run ruff check --select I -e | |
- name: 🔎 Lint Check | |
run: uv run ruff check . |