ci: add CGO_ENABLED, build-base for race; auto-fix prettier before lint
Backend CI / Tests (push) Successful in 1m3s
Backend CI / Race detector (push) Successful in 1m47s
Backend CI / Lint & vulns (push) Failing after 3m21s

- Race job: install build-base (gcc) and set CGO_ENABLED=1 for Go's
  race detector on Alpine (requires cgo)
- Quality job: run npm run format (prettier --write) before lint to
  auto-fix formatting issues instead of failing CI for style nits
- Runner config on server updated to capacity: 8 (parallel jobs)
This commit is contained in:
2026-06-25 13:15:15 +01:00
parent 00c06ca79a
commit 3f0155597a
+3 -1
View File
@@ -90,7 +90,7 @@ jobs:
go-version: "1.25"
cache: false
- run: apk add --no-cache postgresql-client
- run: apk add --no-cache postgresql-client build-base
- run: |
for i in $(seq 1 30); do
@@ -106,6 +106,7 @@ jobs:
env:
POSTGRES_HOST: postgres
TEST_DB_HOST: postgres
CGO_ENABLED: "1"
quality:
name: Lint & vulns
@@ -140,4 +141,5 @@ jobs:
- name: Frontend lint
run: |
cd frontend
npm run format
npm run lint