Skip to content

Allow overriding schedule jobs #253

Allow overriding schedule jobs

Allow overriding schedule jobs #253

Re-run triggered January 19, 2024 15:46
Status Failure
Total duration 1m 4s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: backends/suite_test.go#L49
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: backends/suite_test.go#L50
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: backends/suite_test.go#L190
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
lint: backends/suite_test.go#L184
unnecessary trailing newline (whitespace)
lint: backends/memory/memory_backend.go#L70
calculated cyclomatic complexity for function Enqueue is 11, max is 10 (cyclop)
lint: backends/suite_test.go#L187
Duplicate words (that) found (dupword)
lint: backends/suite.go#L24
test helper function should start from t.Helper() (thelper)
lint: backends/postgres/postgres_backend_test.go#L780
test helper function should start from t.Helper() (thelper)
lint: backends/postgres/postgres_backend.go#L861
error returned from external package is unwrapped: sig: func (*github.com/jackc/pgx/v5/pgxpool.Conn).Begin(ctx context.Context) (github.com/jackc/pgx/v5.Tx, error) (wrapcheck)
lint: backends/suite_test.go#L80
error returned from external package is unwrapped: sig: func github.com/acaloiaro/neoq/jobs.FromContext(ctx context.Context) (j *github.com/acaloiaro/neoq/jobs.Job, err error) (wrapcheck)