WIP #3603
lint.yml
on: push
Lint GoLang job
4m 16s
Lint YAML job
3s
Annotations
10 errors and 2 warnings
Lint GoLang job:
datastore/concurrent_txt_test.go#L36
cannot use rootstore (variable of type *"github.com/sourcenetwork/corekv/memory".Datastore) as corekv.TxnStore value in return statement: *"github.com/sourcenetwork/corekv/memory".Datastore does not implement corekv.TxnStore (missing method NewTxn) (typecheck)
|
Lint GoLang job:
datastore/concurrent_txt_test.go#L65
cannot use rootstore (variable of type *"github.com/sourcenetwork/corekv/memory".Datastore) as corekv.TxnStore value in argument to NewConcurrentTxnFrom: *"github.com/sourcenetwork/corekv/memory".Datastore does not implement corekv.TxnStore (missing method NewTxn) (typecheck)
|
Lint GoLang job:
datastore/concurrent_txt_test.go#L79
cannot use rootstore (variable of type *"github.com/sourcenetwork/corekv/memory".Datastore) as corekv.TxnStore value in argument to NewConcurrentTxnFrom: *"github.com/sourcenetwork/corekv/memory".Datastore does not implement corekv.TxnStore (missing method NewTxn) (typecheck)
|
Lint GoLang job:
datastore/mocks/utils.go#L93
cannot use result.MockRootstore (variable of type *DSReaderWriter) as "github.com/sourcenetwork/defradb/datastore".DSReaderWriter value in argument to txn.EXPECT().Rootstore().Return: *DSReaderWriter does not implement "github.com/sourcenetwork/defradb/datastore".DSReaderWriter (wrong type for method Delete)
|
Lint GoLang job:
datastore/mocks/utils.go#L94
cannot use result.MockDatastore (variable of type *DSReaderWriter) as "github.com/sourcenetwork/defradb/datastore".DSReaderWriter value in argument to txn.EXPECT().Datastore().Return: *DSReaderWriter does not implement "github.com/sourcenetwork/defradb/datastore".DSReaderWriter (wrong type for method Delete)
|
Lint GoLang job:
datastore/mocks/utils.go#L96
cannot use result.MockHeadstore (variable of type *DSReaderWriter) as "github.com/sourcenetwork/defradb/datastore".DSReaderWriter value in argument to txn.EXPECT().Headstore().Return: *DSReaderWriter does not implement "github.com/sourcenetwork/defradb/datastore".DSReaderWriter (wrong type for method Delete)
|
Lint GoLang job:
datastore/mocks/utils.go#L98
cannot use result.MockSystemstore (variable of type *DSReaderWriter) as "github.com/sourcenetwork/defradb/datastore".DSReaderWriter value in argument to txn.EXPECT().Systemstore().Return: *DSReaderWriter does not implement "github.com/sourcenetwork/defradb/datastore".DSReaderWriter (wrong type for method Delete)
|
Lint GoLang job:
datastore/mocks/utils.go#L106
cannot use txn.MockSystemstore (variable of type *DSReaderWriter) as "github.com/sourcenetwork/defradb/datastore".DSReaderWriter value in argument to txn.EXPECT().Systemstore().Return: *DSReaderWriter does not implement "github.com/sourcenetwork/defradb/datastore".DSReaderWriter (wrong type for method Delete)
|
Lint GoLang job:
internal/core/block/block.go#L27
could not import github.com/sourcenetwork/defradb/internal/core/crdt (-: # github.com/sourcenetwork/defradb/internal/core/crdt
|
Lint GoLang job:
internal/core/crdt/base.go#L37
store.Put undefined (type "github.com/sourcenetwork/defradb/datastore".DSReaderWriter has no field or method Put)
|
Lint YAML job
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint GoLang job
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|