feat: golang linter

This commit is contained in:
Carlos Florêncio
2026-01-15 19:05:16 +00:00
parent 84252719b4
commit e1bce95bac
38 changed files with 601 additions and 336 deletions
+7 -1
View File
@@ -33,6 +33,13 @@ jobs:
- name: Run go vet
run: go vet ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61.0
args: ./...
working-directory: apps/backend
- name: Run tests with coverage
run: |
go test -v -race -coverprofile=coverage.out -covermode=atomic -json ./... > test-results.json 2>&1 || true
@@ -85,4 +92,3 @@ jobs:
- name: Build
run: go build -v ./cmd/kandev