ci: add linter and auto-labeler action #6
main.yml
on: pull_request
Go linter
/
lint
50s
Go test
/
test
54s
Go test
/
test-with-race
1m 0s
Annotations
4 errors and 3 warnings
Go linter / lint:
internal/fixer/fixer.go#L28
ST1016: methods on the same type should have the same receiver name (seen 1x "c", 2x "f") (stylecheck)
|
Go linter / lint:
internal/lints/cyclomatic_complexity.go#L32
unnecessary leading newline (whitespace)
|
Go linter / lint:
internal/lints/simplify_slice_expr.go#L20
string `len` has 3 occurrences, make it a constant (goconst)
|
Go linter / lint
issues found
|
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
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
|