fix(deps): update module gorm.io/driver/postgres to v1.5.2 #132
test.yml
on: push
Test and coverage
1m 8s
go vet and lint
45s
golangci lint check
13s
Annotations
11 errors and 2 warnings
golangci lint check:
pkg/routes/main.go#L30
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci lint check:
pkg/repositories/counter.go#L4
File is not `gofumpt`-ed (gofumpt)
|
golangci lint check:
pkg/repositories/counter.go#L28
File is not `gofumpt`-ed (gofumpt)
|
golangci lint check:
pkg/repositories/namespace.go#L4
File is not `gofumpt`-ed (gofumpt)
|
golangci lint check:
pkg/repositories/counter.go#L5
File is not `goimports`-ed with -local github.com/counterapi/counterapi (goimports)
|
golangci lint check:
pkg/repositories/namespace.go#L5
File is not `goimports`-ed with -local github.com/counterapi/counterapi (goimports)
|
golangci lint check:
pkg/repositories/counter.go#L47
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
|
golangci lint check:
pkg/routes/count.go#L12
func `Routes.addCount` is unused (unused)
|
golangci lint check:
pkg/repositories/counter.go#L27
unnecessary leading newline (whitespace)
|
golangci lint check:
pkg/repositories/namespace.go#L21
unnecessary leading newline (whitespace)
|
Test and coverage
Process completed with exit code 2.
|
go vet and lint
Restore cache failed: Dependencies file is not found in /home/runner/work/api/api. Supported file pattern: go.sum
|
Test and coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|