Skip to content

feat(schema/network): add NetworkType fields to distinguish types of… #102

feat(schema/network): add NetworkType fields to distinguish types of…

feat(schema/network): add NetworkType fields to distinguish types of… #102

Triggered via pull request July 15, 2024 12:59
Status Failure
Total duration 20s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: schema/network/ethereum_chain.go#L1
: # github.com/rss3-network/protocol-go/schema/network
Lint: schema/network/network.go#L79
RSS redeclared in this block
Lint: schema/network/network.go#L29
other declaration of RSS
Lint: schema/network/network.go#L84
undefined: Line
Lint: schema/network/network.go#L89
cannot use RSS (constant 15 of type Network) as NetworkType value in return statement
Lint: schema/network/network.go#L91
cannot use Unknown (constant 0 of type Network) as NetworkType value in return statement (typecheck)
Lint: schema/metadata/transaction.go#L5
could not import github.com/rss3-network/protocol-go/schema/network (-: # github.com/rss3-network/protocol-go/schema/network
Lint: schema/network/network.go#L79
RSS redeclared in this block
Lint: schema/network/network.go#L29
other declaration of RSS
Lint: schema/network/network.go#L84
undefined: Line
Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@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/