Skip to content

Schema testcases fix merge with master #84

Schema testcases fix merge with master

Schema testcases fix merge with master #84

Triggered via pull request September 2, 2024 09:07
@deepanshutrdeepanshutr
synchronize #67
sid-tc-fix
Status Failure
Total duration 3m 19s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
golangci-lint: ids/base/asset_id_test.go#L4
4-135 lines are duplicate of `ids/base/classification_id_test.go:4-135` (dupl)
golangci-lint: ids/base/classification_id_test.go#L4
4-135 lines are duplicate of `ids/base/identity_id_test.go:4-135` (dupl)
golangci-lint: ids/base/identity_id_test.go#L4
4-135 lines are duplicate of `ids/base/maintainer_id_test.go:4-135` (dupl)
golangci-lint: ids/base/maintainer_id_test.go#L4
4-135 lines are duplicate of `ids/base/order_id_test.go:4-135` (dupl)
golangci-lint: ids/base/order_id_test.go#L4
4-135 lines are duplicate of `ids/base/asset_id_test.go:4-135` (dupl)
golangci-lint: data/base/any_data_test.go#L149
149-175 lines are duplicate of `data/base/any_data_test.go:177-203` (dupl)
golangci-lint: data/base/any_data_test.go#L177
177-203 lines are duplicate of `data/base/any_data_test.go:149-175` (dupl)
golangci-lint: properties/base/mesa_property_test.go#L374
374-400 lines are duplicate of `properties/base/meta_property_test.go:317-343` (dupl)
golangci-lint: properties/base/meta_property_test.go#L317
317-343 lines are duplicate of `properties/base/mesa_property_test.go:374-400` (dupl)
golangci-lint: documents/base/asset_test.go#L97
97-119 lines are duplicate of `documents/base/classification_test.go:53-75` (dupl)
golangci-lint
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/
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
golangci-lint: ids/codec_test.go#L24
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: types/codec_test.go#L24
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: data/codec_test.go#L24
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: types/base/split.go#L21
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
golangci-lint: ids/base/hash_id.go#L42
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
golangci-lint: ids/base/identity_id.go#L33
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
golangci-lint: ids/base/order_id.go#L32
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
golangci-lint: data/base/linked_data.go#L35
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint: data/base/number_data.go#L90
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
golangci-lint: data/base/dec_data.go#L85
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)