Bump golangci/golangci-lint-action from 3 to 6 #59
Annotations
10 errors and 1 warning
main.go#L89
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
client_test.go#L88
G601: Implicit memory aliasing in for loop. (gosec)
|
http_test.go#L188
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
http_test.go#L198
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
proxy.go#L57
unused-parameter: parameter 'network' seems to be unused, consider removing or renaming it as _ (revive)
|
http_test.go#L52
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
http_test.go#L81
unused-parameter: parameter 'hostname' seems to be unused, consider removing or renaming it as _ (revive)
|
main.go#L13
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
|
main.go#L14
import 'github.com/prometheus/client_golang/prometheus/promhttp' is not allowed from list 'Main' (depguard)
|
metrics.go#L4
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
|
|
This job failed
Loading