Skip to content

update workflow to 1.23 #47

update workflow to 1.23

update workflow to 1.23 #47

Triggered via push September 15, 2024 13:44
Status Failure
Total duration 49s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/list.go#L86
Function 'listTests' is too long (67 > 60) (funlen)
lint: pkg/list.go#L238
File is not `gofumpt`-ed (gofumpt)
lint: pkg/list.go#L260
the line is 124 characters long, which exceeds the maximum of 120 characters. (lll)
lint: pkg/list.go#L237
unnecessary leading newline (whitespace)
lint: pkg/list.go#L338
unnecessary trailing newline (whitespace)
lint: pkg/list.go#L382
unnecessary trailing newline (whitespace)
lint: main_test.go#L184
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
lint: pkg/list_test.go#L90
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
lint: tests/table_test.go#L38
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
lint: main.go#L12
import 'github.com/ninadingole/gotest-ls/pkg' is not allowed from list 'Main' (depguard)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, 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: tests/fuzz_test.go#L6
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)