Skip to content

chore: updated template files #10

chore: updated template files

chore: updated template files #10

Triggered via push July 19, 2024 21:49
Status Failure
Total duration 8m 33s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: stack_test.go#L82
File is not `gofumpt`-ed (gofumpt)
lint: stack_test.go#L83
unnecessary trailing newline (whitespace)
lint: stack.go#L36
type assertion must be checked (forcetypeassert)
lint: stack.go#L25
Pop returns generic interface (T) of type param any (ireturn)
lint: stack.go#L34
PopSafe returns generic interface (T) of type param any (ireturn)
lint: stack.go#L53
Peek returns generic interface (T) of type param any (ireturn)
lint: stack.go#L28
return with no blank line before (nlreturn)
lint: stack.go#L69
return with no blank line before (nlreturn)
lint: stack_test.go#L11
Function TestStack missing the call to method parallel
lint: stack_test.go#L19
Function TestStack missing the call to method parallel in the test run
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: stack_test.go#L14
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)