mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
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>
42 lines
868 B
YAML
42 lines
868 B
YAML
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
|