Skip to content

Commit e9f1186

Browse files
committed
fix: Linting and formatting issues
1 parent 9cd742e commit e9f1186

File tree

7 files changed

+6334
-6263
lines changed

7 files changed

+6334
-6263
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@ name: CI
22
on:
33
pull_request:
44
branches: [main, dev]
5+
paths:
6+
- 'apps/second-brain-offline/**'
7+
- 'apps/second-brain-online/**'
8+
- '.github/workflows/ci.yml'
59
push:
610
branches: [main]
11+
paths:
12+
- 'apps/second-brain-offline/**'
13+
- 'apps/second-brain-online/**'
14+
- '.github/workflows/ci.yml'
715

816
jobs:
9-
lint-format-test:
17+
lint-format-offline:
1018
runs-on: ubuntu-latest
19+
defaults:
20+
run:
21+
working-directory: apps/second-brain-offline
1122

1223
steps:
1324
- name: 🛎️ Checkout
@@ -19,7 +30,7 @@ jobs:
1930
- name: 🐍 Set up Python
2031
uses: actions/setup-python@v5
2132
with:
22-
python-version-file: ".python-version"
33+
python-version-file: "apps/second-brain-offline/.python-version"
2334

2435
- name: 🦾 Install the project
2536
run: |
@@ -32,5 +43,31 @@ jobs:
3243
- name: 🔎 Lint Check
3344
run: make lint-check
3445

35-
- name: 🧪 Test
36-
run: make test
46+
lint-format-online:
47+
runs-on: ubuntu-latest
48+
defaults:
49+
run:
50+
working-directory: apps/second-brain-online
51+
52+
steps:
53+
- name: 🛎️ Checkout
54+
uses: actions/checkout@v4
55+
56+
- name: 📦 Install uv
57+
uses: astral-sh/setup-uv@v4
58+
59+
- name: 🐍 Set up Python
60+
uses: actions/setup-python@v5
61+
with:
62+
python-version-file: "apps/second-brain-online/.python-version"
63+
64+
- name: 🦾 Install the project
65+
run: |
66+
uv sync --all-extras --dev
67+
uv pip install -e .
68+
69+
- name: 💅 Format Check
70+
run: make format-check
71+
72+
- name: 🔎 Lint Check
73+
run: make lint-check

0 commit comments

Comments
 (0)