From c267bc86a876e42733196f4725c4178d6ae55e57 Mon Sep 17 00:00:00 2001 From: agent-company Date: Sat, 28 Mar 2026 23:06:43 +0000 Subject: [PATCH] chore: add go vet step to CI workflow before tests Add a `go vet ./...` step that runs before `go test -race ./...` in the CI pipeline. This catches format string errors, unreachable code, and other static analysis issues early. Verified locally: `go vet ./...` exits 0 with no warnings. Closes leeworks-agents/gitea-mobile#154 Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index a0a5114..0001caf 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,6 +15,9 @@ jobs: with: go-version: '1.22' + - name: Vet + run: go vet ./... + - name: Run tests run: go test -race ./...