Skip to content

CNS-9671: upgrade dependencies #38

CNS-9671: upgrade dependencies

CNS-9671: upgrade dependencies #38

Triggered via pull request February 24, 2024 01:43
@kevincantukevincantu
synchronize #49
feb
Status Failure
Total duration 42s
Artifacts

build-go.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 22 warnings
build (1.21): 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.21): 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.21): 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.21)
issues found
build (1.20): 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.20): 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.20): 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.20)
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, 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.21): tglib/windowscertbug/platform.go#L4
package-comments: should have a package comment (revive)
build (1.21): main.go#L76
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): main.go#L79
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): main.go#L95
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): main.go#L98
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): main.go#L111
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): main.go#L114
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): tgnoob/noob_test.go#L19
dot-imports: should not use dot imports (revive)
build (1.21): tgnoob/helpers.go#L213
unused-parameter: parameter 'policies' seems to be unused, consider removing or renaming it as _ (revive)
build (1.21): tgnoob/helpers_test.go#L20
dot-imports: should not use dot imports (revive)
build (1.20)
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.20): tglib/windowscertbug/platform.go#L4
package-comments: should have a package comment (revive)
build (1.20): main.go#L76
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
build (1.20): main.go#L79
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
build (1.20): main.go#L95
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
build (1.20): main.go#L98
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
build (1.20): main.go#L111
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
build (1.20): main.go#L114
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
build (1.20): tgnoob/helpers_test.go#L20
dot-imports: should not use dot imports (revive)
build (1.20): tgnoob/noob_test.go#L19
dot-imports: should not use dot imports (revive)
build (1.20): tgnoob/helpers.go#L213
unused-parameter: parameter 'policies' seems to be unused, consider removing or renaming it as _ (revive)