From 13c21ac114ff034748ac226d7ab6e31b3bc13e98 Mon Sep 17 00:00:00 2001 From: senke Date: Sun, 22 Feb 2026 17:35:42 +0100 Subject: [PATCH] feat(ci): add go vet and gofmt check to backend CI INF-04: Backend CI now runs go vet and gofmt to catch issues early. --- .github/workflows/backend-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index 4445cbc83..c19edbaab 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -30,6 +30,12 @@ jobs: - name: Download deps run: go mod download + - name: Go vet and format check + run: | + go vet ./... + test -z "$(gofmt -l .)" + working-directory: veza-backend-api + - name: Run govulncheck run: | go install golang.org/x/vuln/cmd/govulncheck@latest