ci: fix nginx http.d dir, golangci-lint timeout, frontend major deps parallel
CI / Docker compose check (push) Successful in 37s
CI / Env docs check (push) Successful in 39s
CI / Frontend deps check (push) Failing after 40s
CI / Go build (push) Successful in 40s
CI / Frontend major deps (push) Successful in 41s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Nginx config check (push) Failing after 46s
CI / Secrets scan (push) Successful in 57s
CI / Frontend build (push) Successful in 55s
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 / Frontend QC (lint) (push) Has been skipped
CI / go mod tidy (push) Successful in 37s
CI / Go vet (prod) (push) Successful in 2m20s
CI / Go vulnerabilities (push) Successful in 1m41s
CI / Go vet (dev) (push) Successful in 2m45s
CI / Staticcheck (prod) (push) Failing after 2m50s
CI / Staticcheck (dev) (push) Failing after 3m3s
CI / golangci-lint (push) Successful in 3m10s
CI / Security scan (prod) (push) Failing after 4m23s
CI / Security scan (dev) (push) Failing after 4m29s
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

- nginx-check: Alpine's nginx package includes /etc/nginx/conf.d at
  MAIN level and /etc/nginx/http.d at HTTP level. Use http.d so that
  proxy_cache_path, limit_req_zone, and server blocks are valid.
- golangci-lint: add --timeout 5m to prevent timeout on first run
  when Go module cache is cold and many deps must be downloaded
- frontend-deps-major: remove needs dependency so it runs in parallel
  with frontend-deps (provides visibility even when deps check fails)
This commit is contained in:
2026-07-10 10:53:53 +01:00
parent e0f072b593
commit 6f557257bb
+4 -5
View File
@@ -194,7 +194,7 @@ jobs:
- name: golangci-lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
golangci-lint run ./...
golangci-lint run ./... --timeout 5m
working-directory: backend
go-staticcheck-dev:
@@ -666,8 +666,7 @@ jobs:
"
frontend-deps-major:
name: Frontend major deps (warn only)
needs: [frontend-deps]
name: Frontend major deps
runs-on: ubuntu-latest
defaults:
run:
@@ -911,6 +910,6 @@ jobs:
- name: Validate nginx config
run: |
mkdir -p /etc/nginx/conf.d
cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
mkdir -p /etc/nginx/http.d
cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/http.d/default.conf
nginx -t