Skip to content

ci: add linter and auto-labeler action #4

ci: add linter and auto-labeler action

ci: add linter and auto-labeler action #4

Triggered via pull request September 30, 2024 02:47
@notJoonnotJoon
synchronize #79
actions
Status Failure
Total duration 1m 9s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Go linter / lint: cmd/tlin/main.go#L221
Consider pre-allocating `sortedFiles` (prealloc)
Go linter / lint: cmd/tlin/main_test.go#L323
test helper function should start from t.Helper() (thelper)
Go linter / lint: cmd/tlin/main_test.go#L323
func `createTempFiles` is unused (unused)
Go linter / lint: cmd/tlin/main_test.go#L324
Consider pre-allocating `paths` (prealloc)
Go linter / lint: cmd/tlin/main_test.go#L334
test helper function should start from t.Helper() (thelper)
Go linter / 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)
Go linter / lint: internal/analysis/cfg/cfg_test.go#L830
test helper function should start from t.Helper() (thelper)
Go linter / lint: internal/analysis/cfg/cfg_test.go#L893
test helper function should start from t.Helper() (thelper)
Go linter / lint: internal/analysis/cfg/cfg_test.go#L911
test helper function should start from t.Helper() (thelper)
Go linter / lint: internal/analysis/cfg/cfg_test.go#L935
test helper function should start from t.Helper() (thelper)
Go test / test
Restore cache failed: Dependencies file is not found in /home/runner/work/tlin/tlin. Supported file pattern: go.sum
Go linter / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/tlin/tlin. Supported file pattern: go.sum
Go test / test-with-race
Restore cache failed: Dependencies file is not found in /home/runner/work/tlin/tlin. Supported file pattern: go.sum