Skip to content

update go version & golangci-lint to latest #537

update go version & golangci-lint to latest

update go version & golangci-lint to latest #537

Triggered via push October 14, 2023 09:19
Status Failure
Total duration 56s
Artifacts

master.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
lint: authmanager/authstore/authstore.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: config/config.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: traverser/lines/lines.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint
issues found
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: testing/scenariobuilder/issuetracker/issuetracker.go#L41
unused-parameter: parameter 'issue' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/groovy/comments.go#L26
unused-parameter: parameter 'filename' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/groovy/comments.go#L59
unused-parameter: parameter 'filename' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/groovy/comments.go#L74
unused-parameter: parameter 'filename' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/groovy/comments.go#L89
unused-parameter: parameter 'prevToken' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/groovy/comments.go#L107
unused-parameter: parameter 'linecnt' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/groovy/comments.go#L135
unused-parameter: parameter 'nextToken' seems to be unused, consider removing or renaming it as _ (revive)
lint: matchers/vue/comments.go#L76
unused-parameter: parameter 'prevToken' seems to be unused, consider removing or renaming it as _ (revive)