Skip to content

Deepanshutr/master

Deepanshutr/master #83

Triggered via pull request September 2, 2024 09:05
Status Failure
Total duration 3m 23s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 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: types/base/split.go#L20
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/any_id.go#L145
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/asset_id.go#L36
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/data_id.go#L47
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/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)
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)