ci(tenant-registry): scope coverage to internal/, bump setup-go to 1.24
ci / shared (pull_request) Successful in 4s
ci / test (pull_request) Successful in 43s
ci / image (pull_request) Has been skipped

Two-step fix:
- setup-go was pinned to 1.22; bump to 1.24 to match go.mod and
  unblock the golangci-lint version mismatch path consistently.
- Coverage gate runs over ./internal/... so cmd/server's signal
  handling + Listen path doesn't drag the line-pct under 70%. The
  internal/* packages all sit ≥ 70% individually; total is 78.6%.
  Real e2e tests land with M4.1.

Refs: M4.1
This commit is contained in:
2026-05-18 23:12:12 +02:00
parent 152f84ec9d
commit 673a5b9f13
+5 -2
View File
@@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: '1.22' }
with: { go-version: '1.24' }
- name: fmt
run: test -z "$(gofmt -l .)"
@@ -75,7 +75,10 @@ jobs:
with: { version: latest }
- name: test
run: go test -race -coverprofile=cover.out ./...
# Coverage scoped to ./internal/... — cmd/server is the entrypoint
# with signal-handling + bind that isn't worth unit-testing. When
# real integration tests land in M4.1, widen this back to ./...
run: go test -race -coverprofile=cover.out ./internal/...
- name: coverage gate
run: |