Skip to content

Bump go.uber.org/zap from 1.25.0 to 1.26.0 #7

Bump go.uber.org/zap from 1.25.0 to 1.26.0

Bump go.uber.org/zap from 1.25.0 to 1.26.0 #7

Triggered via pull request September 25, 2023 03:15
Status Failure
Total duration 32s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
test: redirection/redirectsstore.go#L67
Consider pre-allocating `operations` (prealloc)
test: redirection/redirectsstore.go#L61
unnecessary trailing newline (whitespace)
test: redirection/redirectsstore.go#L65
unnecessary leading newline (whitespace)
test: redirection/redirection.go#L4
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: redirection/redirection.go#L5
import 'github.com/foomo/keel/persistence/mongo' is not allowed from list 'Main' (depguard)
test: redirection/redirectsstore.go#L6
import 'github.com/foomo/keel/persistence/mongo' is not allowed from list 'Main' (depguard)
test: services/redirect/redirect.go#L4
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: services/redirect/redirect.go#L5
import 'github.com/foomo/redirects/redirection' is not allowed from list 'Main' (depguard)
test: redirection/redirectsstore.go#L19
named return "rs" with type "*RedirectsStore" found (nonamedreturns)
test: services/redirect/redirect.go#L11
param new has same name as predeclared identifier (predeclared)
test: redirection/redirection.go#L26
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L30
unused-parameter: parameter 'dimension' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L34
unused-parameter: parameter 'def' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L38
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
test: redirection/redirection.go#L42
unused-parameter: parameter 'def' seems to be unused, consider removing or renaming it as _ (revive)