From 6d8ae7f592e932911c24d651dc06ead72c724702 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Mon, 21 Sep 2026 16:01:14 +0200 Subject: [PATCH] Add .editorconfig and Gitea CI workflow (closes #14) 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 --- .editorconfig | 12 ++++++++++++ .gitea/workflows/check.yml | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitea/workflows/check.yml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..2fe0ce0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[Makefile] +indent_style = tab diff --git a/.gitea/workflows/check.yml b/.gitea/workflows/check.yml new file mode 100644 index 0000000..a55bc55 --- /dev/null +++ b/.gitea/workflows/check.yml @@ -0,0 +1,9 @@ +name: check +on: [push] +jobs: + check: + runs-on: ubuntu-latest + steps: + # actions/checkout v4.2.2, 2026-02-28 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - run: script/cibuild