fix(task): lint step fails on findings instead of printing 'not installed' (#41)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 20:54:20 +02:00
co-authored by Claude Sonnet 5.5
parent 0d4c5c9d1d
commit f1f8b6d02e
2 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ tasks:
lint:
desc: golangci-lint (installed by CI; skipped locally if absent).
cmds:
- 'command -v golangci-lint >/dev/null 2>&1 && golangci-lint run ./... || echo "golangci-lint not installed — skipping (CI installs it)"'
- 'if command -v golangci-lint >/dev/null 2>&1; then golangci-lint run ./...; else echo "golangci-lint not installed — skipping (CI installs it)"; fi'
test:
desc: Run all tests. -p 1 serializes packages so the embedded-postgres tests