From efda55a12a87a3c31499bde03f51d2e6b4f4f84b Mon Sep 17 00:00:00 2001 From: clawbot Date: Fri, 20 Feb 2026 02:46:00 -0800 Subject: [PATCH] ci: add Gitea Actions workflow for make check (closes #96) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds .gitea/workflows/check.yml — runs make check on pushes to main and PRs targeting main. Uses golangci-lint v2.10.1 (pinned) matching the repo's v2 config. Only adds the workflow file. No other files modified. --- .gitea/workflows/check.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/check.yml diff --git a/.gitea/workflows/check.yml b/.gitea/workflows/check.yml new file mode 100644 index 0000000..041544a --- /dev/null +++ b/.gitea/workflows/check.yml @@ -0,0 +1,26 @@ +name: Check + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Install golangci-lint + run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1 + + - name: Install goimports + run: go install golang.org/x/tools/cmd/goimports@latest + + - name: Run make check + run: make check