chore(deps): update codecov/codecov-action action to v4.6.0 #2165
Annotations
10 errors and 1 warning
golangci-lint:
src/server/webhook.go#L126
assignOp: replace `path = path + "/-"` with `path += "/-"` (gocritic)
|
golangci-lint:
src/server/webhook_test.go#L34
wrapperFunc: use bytes.ReplaceAll method in `bytes.Replace(makeTestData(t, "default"), []byte("\"object\""), []byte("\"foo\""), -1)` (gocritic)
|
golangci-lint:
cmd/server/main.go#L39
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(appName, "-", "_", -1)` (gocritic)
|
golangci-lint:
cmd/server/main.go#L37
cyclomatic complexity 13 of func `main` is high (> 10) (gocyclo)
|
golangci-lint:
src/server/webhook_test.go#L114
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci-lint:
src/server/webhook_test.go#L146
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci-lint:
cmd/server/main.go#L67
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci-lint:
cmd/server/main.go#L72
G402: TLS MinVersion too low. (gosec)
|
golangci-lint:
cmd/server/main.go#L82
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
golangci-lint:
src/server/readiness_probe_test.go#L31
unnecessary conversion (unconvert)
|
Run actions/setup-go@v5
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Loading