Skip to content

refactor

refactor #81

Triggered via push November 19, 2024 18:47
Status Failure
Total duration 1m 35s
Artifacts

security.yml

on: push
Perform SAST analysis (golangci-lint)
1m 24s
Perform SAST analysis (golangci-lint)
Perform SCA analysis (govulncheck)
1m 2s
Perform SCA analysis (govulncheck)
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Perform SCA analysis (govulncheck)
cannot range over seq (variable of type iter.Seq[E])
Perform SCA analysis (govulncheck)
cannot range over seq (variable of type iter.Seq2[K, V])
Perform SCA analysis (govulncheck)
Process completed with exit code 1.
Perform SAST analysis (golangci-lint): internal/sync/images.go#L167
`if strings.HasPrefix(dst, "r2:") || strings.HasPrefix(dst, "s3:")` has complex nested blocks (complexity: 5) (nestif)
Perform SAST analysis (golangci-lint): internal/sync/s3.go#L195
func `s3ObjectExists` is unused (unused)
Perform SAST analysis (golangci-lint): internal/sync/images.go#L284
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
Perform SAST analysis (golangci-lint): internal/sync/s3.go#L219
SA5011: possible nil pointer dereference (staticcheck)
Perform SAST analysis (golangci-lint): internal/sync/s3.go#L226
SA5011(related information): this check suggests that the pointer can be nil (staticcheck)
Perform SAST analysis (golangci-lint): reload.go#L19
SA9003: empty branch (staticcheck)
Perform SAST analysis (golangci-lint)
issues found