chore: add check workflow and pre-commit recipes #9

Merged
David merged 1 commit from chore/checks-and-pre-commit into main 2026-05-10 23:45:10 +02:00
Owner

Summary

Adds the check.yml workflow + install-hooks / pre-commit recipes per governance/PRE_COMMIT.md. eyes has no compose dev stack, so the recipe uses ad-hoc docker run against rust-builder-musl:v1.0.0-rust1.94-alpine (matching ci-build/Dockerfile's base) with dev-eyes-cargo-{target,registry} named volumes for incremental builds.

Changes

  • .forgejo/workflows/check.yml (new): fmt, clippy -D warnings, build --all-targets, test --lib.
  • justfile: new dev_image variable + install-hooks + pre-commit recipes.

Test plan

  • just install-hooks writes the stub correctly.
  • just pre-commit runs and passes.
  • CI run on the branch passes.
## Summary Adds the `check.yml` workflow + `install-hooks` / `pre-commit` recipes per [governance/PRE_COMMIT.md](https://dev.a8n.run/a8n-tools/governance/src/branch/main/PRE_COMMIT.md). eyes has no compose dev stack, so the recipe uses ad-hoc `docker run` against `rust-builder-musl:v1.0.0-rust1.94-alpine` (matching `ci-build/Dockerfile`'s base) with `dev-eyes-cargo-{target,registry}` named volumes for incremental builds. ## Changes - `.forgejo/workflows/check.yml` (new): fmt, clippy `-D warnings`, build `--all-targets`, test `--lib`. - `justfile`: new `dev_image` variable + `install-hooks` + `pre-commit` recipes. ## Test plan - [ ] `just install-hooks` writes the stub correctly. - [ ] `just pre-commit` runs and passes. - [ ] CI run on the branch passes.
chore: add check workflow and pre-commit recipes
Some checks failed
Check / fmt + clippy + build + tests (pull_request) Failing after 2s
Create release / Create release from merged PR (pull_request) Has been skipped
2a514db50a
New .forgejo/workflows/check.yml runs on the opensuse-base CI image and exercises fmt, clippy --all-targets -- -D warnings, build --all-targets, and test --lib. eyes has no compose dev stack, so `just pre-commit` runs the same four cargo invocations against rust-builder-musl:v1.0.0-rust1.94-alpine via ad-hoc `docker run`, with cargo target + registry persisted in `dev-eyes-cargo-target` / `dev-eyes-cargo-registry` named volumes. See governance/PRE_COMMIT.md for the org-wide standard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
David merged commit 9fa9f6e040 into main 2026-05-10 23:45:10 +02:00
David deleted branch chore/checks-and-pre-commit 2026-05-10 23:45:11 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pandoras-box/monkey!9
No description provided.