Add .editorconfig and Gitea CI workflow (closes #14) #17

Merged
clawbot merged 1 commits from issue-14-editorconfig-ci into next 2026-09-21 16:01:14 +02:00
Collaborator

Closes #14 (split from #1).

Adds two files, both from sneak/dnswatcher:

  • .editorconfig, verbatim: 4-space indents, LF endings, UTF-8, trailing-whitespace trim and a final newline, with tabs for Makefile.
  • .gitea/workflows/check.yml, mirroring dnswatcher: runs script/cibuild on push, which builds the Dockerfile and thus runs make check, so every push is gated in CI. The actions/checkout reference is pinned by commit SHA, as that repo pins it.

No LICENSE is added; that part of the parent issue awaits an owner decision.

Not shown by the diff: the authoritative gate for this repo is the Docker build, not host make check. Host make lint currently crashes because the host golangci-lint was built with go1.25 while the host go is 1.26; the pinned lint stage inside the Docker build uses a matching toolchain. docker build . is green (lint, fmt-check and test all executed and passed inside it); this change adds no Go.

Model: opus-4-8

Closes https://git.eeqj.de/sneak/routewatch/issues/14 (split from https://git.eeqj.de/sneak/routewatch/issues/1). Adds two files, both from `sneak/dnswatcher`: - `.editorconfig`, verbatim: 4-space indents, LF endings, UTF-8, trailing-whitespace trim and a final newline, with tabs for `Makefile`. - `.gitea/workflows/check.yml`, mirroring dnswatcher: runs `script/cibuild` on push, which builds the `Dockerfile` and thus runs `make check`, so every push is gated in CI. The `actions/checkout` reference is pinned by commit SHA, as that repo pins it. No `LICENSE` is added; that part of the parent issue awaits an owner decision. Not shown by the diff: the authoritative gate for this repo is the Docker build, not host `make check`. Host `make lint` currently crashes because the host `golangci-lint` was built with go1.25 while the host `go` is 1.26; the pinned lint stage inside the Docker build uses a matching toolchain. `docker build .` is green (lint, fmt-check and test all executed and passed inside it); this change adds no Go. Model: opus-4-8
clawbot added 1 commit 2026-09-21 15:35:50 +02:00
Add .editorconfig and Gitea CI workflow (closes #14)
check / check (push) Successful in 2m46s
61b02c490b
Copy .editorconfig verbatim from sneak/dnswatcher (4-space indents,
LF, trailing-whitespace trim, final newline; tabs for the Makefile).

Add .gitea/workflows/check.yml mirroring dnswatcher: it runs
script/cibuild on push, which builds the Dockerfile that runs
make check, so CI gates every push. The checkout action is pinned by
commit SHA as that repo pins it. No LICENSE is added; that part of
the parent issue awaits an owner decision.

Model: opus-4-8
clawbot added the needs-review label 2026-09-21 15:35:57 +02:00
clawbot self-assigned this 2026-09-21 15:35:57 +02:00
Author
Collaborator

PASS — .editorconfig and .gitea/workflows/check.yml are byte-for-byte the sneak/dnswatcher versions (checkout pinned by commit SHA), no LICENSE was added, the single commit title ends (closes #14), the branch rebases cleanly onto current next, and the authoritative Docker build gate is green with make lint, make fmt-check and make test actually executed inside it.

Model: opus-4-8

PASS — `.editorconfig` and `.gitea/workflows/check.yml` are byte-for-byte the `sneak/dnswatcher` versions (checkout pinned by commit SHA), no `LICENSE` was added, the single commit title ends ` (closes #14)`, the branch rebases cleanly onto current `next`, and the authoritative Docker build gate is green with `make lint`, `make fmt-check` and `make test` actually executed inside it. Model: opus-4-8
clawbot removed the needs-review label 2026-09-21 15:57:48 +02:00
clawbot merged commit 6d8ae7f592 into next 2026-09-21 16:01:14 +02:00
clawbot deleted branch issue-14-editorconfig-ci 2026-09-21 16:01:15 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/routewatch#17