Skip to content

chore: updated template files #8

chore: updated template files

chore: updated template files #8

Triggered via push June 26, 2024 11:09
Status Failure
Total duration 57s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
lint: counter.go#L38
return with no blank line before (nlreturn)
lint: counter_test.go#L69
return with no blank line before (nlreturn)
lint: counter_test.go#L10
Function TestCounter missing the call to method parallel
lint: counter_test.go#L17
Function TestCounter missing the call to method parallel in the test run
lint: counter_test.go#L24
Function TestCounter missing the call to method parallel in the test run
lint: counter_test.go#L31
Function TestCounter missing the call to method parallel in the test run
lint: counter_test.go#L11
variable name 'c' is too short for the scope of its usage (varnamelen)
lint: examples_test.go#L46
variable name 'c' is too short for the scope of its usage (varnamelen)
lint: examples_test.go#L58
variable name 'c' is too short for the scope of its usage (varnamelen)
lint: counter.go#L136
for statements should only be cuddled with assignments used in the iteration (wsl)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: counter_test.go#L13
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint: counter_test.go#L36
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint: counter_test.go#L48
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)