ci: install git for gitleaks, use nginx default config for validation
CI / Docker compose check (push) Successful in 21s
CI / Frontend deps check (push) Failing after 22s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Nginx config check (push) Failing after 26s
CI / Env docs check (push) Failing after 26s
CI / Go build (push) Successful in 32s
CI / Secrets scan (push) Successful in 42s
CI / Frontend build (push) Successful in 59s
CI / Svelte strict check (push) Has been skipped
CI / Frontend QC (audit) (push) Has been skipped
CI / Frontend QC (typecheck) (push) Has been skipped
CI / go mod tidy (push) Successful in 22s
CI / Frontend QC (lint) (push) Has been skipped
CI / Go vulnerabilities (push) Successful in 1m29s
CI / Go vet (push) Successful in 1m45s
CI / Staticcheck (push) Failing after 2m1s
CI / golangci-lint (push) Successful in 2m12s
CI / Security scan (gosec) (push) Failing after 2m44s
CI / Tests (prod) (push) Has been skipped
CI / Tests (dev) (push) Has been skipped
CI / Race (prod) (push) Has been skipped
CI / Race (dev) (push) Has been skipped

- secrets-scan: install git before gitleaks (gitleaks needs git in PATH
  to scan the repository; the node:22-alpine3.21 container lacks it)
- nginx-check: copy site config into /etc/nginx/conf.d/ and use
  'nginx -t' with default config instead of constructing a custom one
  (avoids fastcgi_params resolution issues with relative includes)
This commit is contained in:
2026-07-10 10:27:48 +01:00
parent fbb8837981
commit 3d5b9350bc
+5 -2
View File
@@ -36,6 +36,9 @@ jobs:
go-version: "1.26"
cache: false
- name: Install git (required by gitleaks)
run: apk add --no-cache git
- name: Install gitleaks
run: go install github.com/zricethezav/gitleaks/v8@latest
@@ -768,5 +771,5 @@ jobs:
- name: Validate nginx config
run: |
echo "events {} http { include /etc/nginx/mime.types; include $(pwd)/nginx/conf.d/*.conf; }" > /tmp/nginx-test.conf
nginx -t -c /tmp/nginx-test.conf
cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/conf.d/
nginx -t