Skip to content

Merge pull request #14 from naohito-T/feature/logger #38

Merge pull request #14 from naohito-T/feature/logger

Merge pull request #14 from naohito-T/feature/logger #38

Triggered via push September 22, 2024 14:39
Status Failure
Total duration 1m 0s
Artifacts

test_backend.yml

on: push
setup-go-modules-backend
5s
setup-go-modules-backend
lint-backend
38s
lint-backend
build-backend
27s
build-backend
test-backend
31s
test-backend
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
lint-backend: backend/domain/shorturl.go#L4
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
lint-backend: backend/domain/shorturl.go#L17
G401: Use of weak cryptographic primitive (gosec)
lint-backend: backend/internal/infrastructure/dynamo.go#L26
SA1019: aws.EndpointResolverFunc is deprecated: See EndpointResolverWithOptionsFunc (staticcheck)
lint-backend: backend/internal/infrastructure/dynamo.go#L35
SA1019: config.WithEndpointResolver is deprecated: See WithEndpointResolverWithOptions (staticcheck)
lint-backend
issues found
lint-backend: backend/internal/infrastructure/dynamo.go#L58
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint-backend: backend/internal/infrastructure/dynamo.go#L72
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
lint-backend: backend/internal/infrastructure/dynamo.go#L92
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)