Skip to content

chore: use Go 1.21 #239

chore: use Go 1.21

chore: use Go 1.21 #239

Triggered via pull request February 20, 2024 10:54
Status Failure
Total duration 55s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
go-lint: common/publisher.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)
go-lint: git/repo_activity.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)
go-lint: cmd/download_publishers.go#L4
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)
go-lint
issues found
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, 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/.
go-lint: cmd/crawl.go#L24
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
go-lint: cmd/root.go#L15
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
go-lint: cmd/download_publishers.go#L33
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
go-lint: cmd/one.go#L26
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)