fix: lint gracefully skip when src/ not exists
CI / lint (push) Successful in -3m58s
CI / lint (pull_request) Successful in -3m58s
CI / test (push) Failing after -4m0s
CI / test (pull_request) Failing after -3m59s
CI / notify-on-failure (push) Successful in -4m3s
CI / notify-on-failure (pull_request) Successful in -4m3s

This commit is contained in:
cfdaily
2026-06-06 18:41:43 +08:00
parent 163e778096
commit b28d7cca9e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
- name: Lint with ruff
run: |
.venv/bin/ruff check src/
test -d src && .venv/bin/ruff check src/ || echo "No src/ directory, skipping lint"
# ── Job 2: Test ──────────────────────────────────────
test:
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
- name: Lint
run: |
.venv/bin/ruff check src/
test -d src && .venv/bin/ruff check src/ || echo "No src/ directory, skipping lint"
- name: Unit & Integration Tests
run: |