Skip to content

feat: minor Caddyfile improvements #731

feat: minor Caddyfile improvements

feat: minor Caddyfile improvements #731

Triggered via push October 25, 2023 15:11
Status Failure
Total duration 8m 11s
Artifacts

ci.yml

on: push
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: server_test.go#L25
string `http://` has 9 occurrences, make it a constant (goconst)
Lint: server_test.go#L358
string `/metrics` has 3 occurrences, make it a constant (goconst)
Lint: subscribe_test.go#L660
string `?topic=http://example.com/foos/{id}` has 4 occurrences, make it a constant (goconst)
Lint: subscription_test.go#L141
string `/subscriptions/` has 3 occurrences, make it a constant (goconst)
Lint: authorization.go#L57
string `*** has 31 occurrences, make it a constant (goconst)
Lint: demo.go#L32
string `>; rel="mercure"` has 3 occurrences, make it a constant (goconst)
Lint: subscribe_test.go#L333
string `?topic=http://example.com/reviews/{id}` has 3 occurrences, make it a constant (goconst)
Lint: subscription.go#L36
string `/subscriptions` has 4 occurrences, make it a constant (goconst)
Lint: authorization_test.go#L32
G101: Potential hardcoded credentials: RSA private key (gosec)
Lint: common/version_test.go#L98
avoid direct access to proto field metricOut.Gauge.Value, use metricOut.GetGauge().GetValue() instead (protogetter)