Skip to content

Merge pull request #1630 from 0chain/feature/kms-roles #6948

Merge pull request #1630 from 0chain/feature/kms-roles

Merge pull request #1630 from 0chain/feature/kms-roles #6948

Triggered via push September 27, 2024 16:01
Status Failure
Total duration 3m 43s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
lint: core/util/httpnet.go#L7
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: zboxcore/encryption/pre_test.go#L173
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, crypto/rand.Read is more appropriate. (staticcheck)
lint: core/logger/logger.go#L95
Error return value of `l.logDebug.Output` is not checked (errcheck)
lint: core/logger/logger.go#L101
Error return value of `l.logInfo.Output` is not checked (errcheck)
lint: core/logger/logger.go#L107
Error return value of `l.logError.Output` is not checked (errcheck)
lint: core/logger/logger.go#L113
Error return value of `l.logFatal.Output` is not checked (errcheck)
lint: core/resty/resty.go#L6
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: core/resty/resty_test.go#L6
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: wasmsdk/demo/main.go#L39
Error return value of `w.Write` is not checked (errcheck)
lint: zboxcore/sdk/rollback.go#L163
Error return value of `formWriter.WriteField` is not checked (errcheck)
go-test
Process completed with exit code 2.
wasm-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
wasm-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v3, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@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/
go-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/