ci: add linter and auto-labeler action #4
Annotations
10 errors and 1 warning
Lint:
cmd/tlin/main.go#L221
Consider pre-allocating `sortedFiles` (prealloc)
|
Lint:
cmd/tlin/main_test.go#L323
test helper function should start from t.Helper() (thelper)
|
Lint:
cmd/tlin/main_test.go#L323
func `createTempFiles` is unused (unused)
|
Lint:
cmd/tlin/main_test.go#L324
Consider pre-allocating `paths` (prealloc)
|
Lint:
cmd/tlin/main_test.go#L334
test helper function should start from t.Helper() (thelper)
|
Lint:
internal/analysis/cfg/builder.go#L182
ST1023: should omit type ast.Stmt from declaration; it will be inferred from the right-hand side (stylecheck)
|
Lint:
internal/analysis/cfg/cfg_test.go#L830
test helper function should start from t.Helper() (thelper)
|
Lint:
internal/analysis/cfg/cfg_test.go#L893
test helper function should start from t.Helper() (thelper)
|
Lint:
internal/analysis/cfg/cfg_test.go#L911
test helper function should start from t.Helper() (thelper)
|
Lint:
internal/analysis/cfg/cfg_test.go#L935
test helper function should start from t.Helper() (thelper)
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/tlin/tlin. Supported file pattern: go.sum
|
Loading