Skip to content

Complete refactor

Complete refactor #174

Triggered via pull request December 5, 2023 15:47
@muXxermuXxer
synchronize #116
feat/refactor
Status Success
Total duration 2m 46s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 1 warning
[golangci] pkg/testsuite/mqtt_test.go#L443: pkg/testsuite/mqtt_test.go#L443
443-483 lines are duplicate of `pkg/testsuite/mqtt_test.go:575-615` (dupl)
[golangci] pkg/testsuite/mqtt_test.go#L575: pkg/testsuite/mqtt_test.go#L575
575-615 lines are duplicate of `pkg/testsuite/mqtt_test.go:443-483` (dupl)
[golangci] pkg/testsuite/mqtt_test.go#L892: pkg/testsuite/mqtt_test.go#L892
string `/raw` has 6 occurrences, make it a constant (goconst)
[golangci] pkg/testsuite/broker_mock.go#L79: pkg/testsuite/broker_mock.go#L79
commentFormatting: put a space between `//` and comment text (gocritic)
[golangci] pkg/testsuite/mqtt_test.go#L7: pkg/testsuite/mqtt_test.go#L7
File is not `goimports`-ed with -local github.com/iotaledger (goimports)
[golangci] pkg/testsuite/mqtt_test.go#L887: pkg/testsuite/mqtt_test.go#L887
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L905: pkg/testsuite/mqtt_test.go#L905
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L913: pkg/testsuite/mqtt_test.go#L913
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L926: pkg/testsuite/mqtt_test.go#L926
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L940: pkg/testsuite/mqtt_test.go#L940
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L941: pkg/testsuite/mqtt_test.go#L941
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L945: pkg/testsuite/mqtt_test.go#L945
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L956: pkg/testsuite/mqtt_test.go#L956
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L957: pkg/testsuite/mqtt_test.go#L957
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/mqtt_test.go#L964: pkg/testsuite/mqtt_test.go#L964
Using the variable on range scope `test` in function literal (scopelint)
[golangci] pkg/testsuite/testsuite.go#L224: pkg/testsuite/testsuite.go#L224
missing cases in switch of type iotago.OutputType: iotago.OutputBasic, iotago.OutputAccount, iotago.OutputNFT, iotago.OutputDelegation (exhaustive)
[golangci] pkg/testsuite/testsuite.go#L203: pkg/testsuite/testsuite.go#L203
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/testsuite.go#L234: pkg/testsuite/testsuite.go#L234
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L444: pkg/testsuite/mqtt_test.go#L444
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L487: pkg/testsuite/mqtt_test.go#L487
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L532: pkg/testsuite/mqtt_test.go#L532
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L576: pkg/testsuite/mqtt_test.go#L576
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L619: pkg/testsuite/mqtt_test.go#L619
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L746: pkg/testsuite/mqtt_test.go#L746
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/mqtt_test.go#L812: pkg/testsuite/mqtt_test.go#L812
type assertion must be checked (forcetypeassert)
[golangci] pkg/testsuite/nodebridge_mock.go#L438: pkg/testsuite/nodebridge_mock.go#L438
return with no blank line before (nlreturn)
Go
Restore cache failed: Dependencies file is not found in /home/runner/work/inx-mqtt/inx-mqtt. Supported file pattern: go.sum