Skip to content

Merge pull request #1493 from 0chain/hotfix/wm-timestamp #6128

Merge pull request #1493 from 0chain/hotfix/wm-timestamp

Merge pull request #1493 from 0chain/hotfix/wm-timestamp #6128

Triggered via push May 15, 2024 19:36
Status Failure
Total duration 3m 3s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
lint: zboxcore/zboxutil/http.go#L9
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: zboxapi/sdk_test.go#L198
Error return value of `json.Unmarshal` is not checked (errcheck)
lint: core/resty/resty.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: 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: core/logger/logger.go#L93
Error return value of `l.logDebug.Output` is not checked (errcheck)
lint: core/logger/logger.go#L99
Error return value of `l.logInfo.Output` is not checked (errcheck)
lint: core/logger/logger.go#L105
Error return value of `l.logError.Output` is not checked (errcheck)
lint: core/logger/logger.go#L111
Error return value of `l.logFatal.Output` is not checked (errcheck)
lint: zboxcore/sdk/rollback.go#L154
Error return value of `formWriter.WriteField` is not checked (errcheck)
go-test
Process completed with exit code 2.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@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/.
wasm-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
go-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/