mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 23:36:20 +00:00
chore: bootstrap Claude setup
Add root CLAUDE.md, LESSONS.md, .env.example, .claude/settings.json hooks (PostToolUse lint, Stop lint+test via bb dev:lint-and-test), and a .gitea/workflows/ci.yml lint+test workflow. No development branch exists here, so CI targets main; version.yml automation is skipped since this repo already has its own tag-driven release/version flow (scripts/bump-version.sh, build.yml on v* tags). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b339cbb3b7
commit
f4366407d8
8 files changed
+169
-1
No files matched your search
@@ -0,0 +1,41 @@
|
||||
name: CI
|
||||
|
||||
# Lint + unit tests, using the same `bb dev:lint-and-test` task documented in
|
||||
# CLAUDE.md / AGENTS.md. Runs on pushes and on PRs against main (no
|
||||
# `development` branch exists in this repo).
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint-and-test:
|
||||
name: Lint and test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: "21"
|
||||
|
||||
- uses: DeLaGuardo/setup-clojure@13.1
|
||||
with:
|
||||
cli: 1.12.5.1664
|
||||
bb: latest
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: pnpm
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Lint and test
|
||||
run: bb dev:lint-and-test
|
||||
Reference in new issue
Block a user