Skip to content

Use new node contract in registry #486

Use new node contract in registry

Use new node contract in registry #486

Triggered via pull request August 11, 2024 14:53
Status Failure
Total duration 2m 43s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: pkg/registry/contractRegistry.go#L1
: # github.com/xmtp/xmtpd/pkg/registry
Lint: pkg/registry/registry.go#L3
Node redeclared in this block
Lint: pkg/registry/interface.go#L3
other declaration of Node
Lint: pkg/registry/registry.go#L10
NodeRegistry redeclared in this block
Lint: pkg/registry/interface.go#L11
other declaration of NodeRegistry
Lint: pkg/registry/contractRegistry.go#L71
hasChanged declared and not used
Lint: pkg/registry/contractRegistry.go#L108
a.MtlsCert undefined (type abis.NodesNode has no field or method MtlsCert)
Lint: pkg/registry/contractRegistry.go#L108
b.MtlsCert undefined (type abis.NodesNode has no field or method MtlsCert) (typecheck)
Lint: cmd/replication/main.go#L13
could not import github.com/xmtp/xmtpd/pkg/registry (-: # github.com/xmtp/xmtpd/pkg/registry
Lint: pkg/registry/registry.go#L3
Node redeclared in this block
Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, 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/