Skip to content

chore: Add GitHub Actions workflow for testing and linting #2

chore: Add GitHub Actions workflow for testing and linting

chore: Add GitHub Actions workflow for testing and linting #2

Triggered via pull request May 13, 2025 14:08
Status Failure
Total duration 58s
Artifacts

test.yml

on: pull_request
Web Tests and Lint
52s
Web Tests and Lint
Common Libraries Tests
41s
Common Libraries Tests
Go Lint
33s
Go Lint
Build Check
19s
Build Check
Matrix: Go Tests
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 1 warning
Go Tests (mock-user-svc)
Process completed with exit code 1.
Go Tests (mcp-gateway)
Process completed with exit code 1.
Go Tests (mcp-gateway)
The strategy configuration was canceled because "go-tests.mock-user-svc" failed
Go Lint: internal/auth/impl/apikey.go#L24
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
Go Lint: internal/mcp/storage/api.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Go Lint: internal/common/config/validator.go#L133
printf: non-constant format string in call to fmt.Errorf (govet)
Go Lint: internal/core/tool.go#L131
func `processResponse` is unused (unused)
Go Lint: internal/core/sse.go#L78
func `(*Server).sendErrorResponse` is unused (unused)
Go Lint: internal/core/middleware.go#L50
func `(*Server).authMiddleware` is unused (unused)
Go Lint: cmd/mcp-gateway/main.go#L203
Error return value of `pidManager.RemovePID` is not checked (errcheck)
Go Lint: cmd/mcp-gateway/main.go#L187
Error return value of `logger.Sync` is not checked (errcheck)
Go Lint: cmd/mcp-gateway/main.go#L79
Error return value of `logger.Sync` is not checked (errcheck)
Go Lint: cmd/mock-user-svc/main.go#L62
Error return value of `logger.Sync` is not checked (errcheck)
Go Tests (apiserver)
The operation was canceled.
Go Tests (apiserver)
The strategy configuration was canceled because "go-tests.mock-user-svc" failed
Common Libraries Tests
Process completed with exit code 1.
Go Lint
Failed to restore: Cache service responded with 422