CNS-9671: upgrade dependencies #36
Annotations
5 errors and 12 warnings
build (1.21)
Command failed: go env GOPATH
go: downloading go1.22 (linux/amd64)
go: download go1.22 for linux/amd64: toolchain not available
|
build (1.22):
tglib/cert.go#L23
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)
|
build (1.22):
tglib/pkcs12.go#L17
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)
|
build (1.22):
tgnoob/helpers.go#L20
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)
|
build (1.22)
issues found
|
build (1.21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (1.22)
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/.
|
build (1.22):
tglib/windowscertbug/platform.go#L4
package-comments: should have a package comment (revive)
|
build (1.22):
main.go#L76
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
build (1.22):
main.go#L79
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
build (1.22):
main.go#L95
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
build (1.22):
main.go#L98
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
build (1.22):
main.go#L111
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
build (1.22):
main.go#L114
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
build (1.22):
tgnoob/helpers_test.go#L20
dot-imports: should not use dot imports (revive)
|
build (1.22):
tgnoob/noob_test.go#L19
dot-imports: should not use dot imports (revive)
|
build (1.22):
tgnoob/helpers.go#L213
unused-parameter: parameter 'policies' seems to be unused, consider removing or renaming it as _ (revive)
|