build(deps): bump semver from 5.7.0 to 5.7.2 in /tools #290
pr.yml
on: pull_request
golangci-lint
1m 45s
go-mod
18s
tests-on-windows
0s
tests-on-macos
0s
check_generated
0s
Matrix: tests-on-unix
Annotations
10 errors and 1 warning
golangci-lint:
pkg/commands/executor.go#L59
Function 'NewExecutor' has too many statements (52 > 50) (funlen)
|
golangci-lint:
test/bench/bench_test.go#L29
sloppyTestFuncName: function prepareGoSource should be of form BenchmarkXXX(b *testing.B) (gocritic)
|
golangci-lint:
test/bench/bench_test.go#L87
sloppyTestFuncName: function runGolangciLintForBench should be of form BenchmarkXXX(b *testing.B) (gocritic)
|
golangci-lint:
pkg/golinters/runtimeconfig.go#L44
cyclomatic complexity 16 of func `run` is high (> 15) (gocyclo)
|
golangci-lint:
test/testshared/testshared.go#L164
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
pkg/golinters/gofumpt.go#L124
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
pkg/golinters/rowserrcheck.go#L25
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci-lint:
pkg/logutils/mock.go#L4
import 'github.com/stretchr/testify/mock' is not allowed from list 'Main' (depguard)
|
golangci-lint:
pkg/logutils/out.go#L4
import 'github.com/fatih/color' is not allowed from list 'Main' (depguard)
|
golangci-lint:
pkg/logutils/out.go#L5
import 'github.com/mattn/go-colorable' is not allowed from list 'Main' (depguard)
|
golangci-lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|