Skip to content

saving work

saving work #10207

Triggered via push October 16, 2024 21:29
Status Failure
Total duration 2m 36s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Lint: internal/database/indexing/block.go#L20
cannot use record.NewKey(index) (value of type *"gitlab.com/accumulatenetwork/accumulate/pkg/types/record".Key) as uint64 value in argument to ledger.BlockLedger().Find
Lint: pkg/types/encoding/time.go#L27
method MarshalJSON(e *json.Encoder, v *time.Time) error should have signature MarshalJSON() ([]byte, error)
Lint: pkg/types/encoding/time.go#L28
method UnmarshalJSON(d *json.Decoder, v *time.Time) error should have signature UnmarshalJSON([]byte) error
Lint: test/simulator/consensus/types_gen.go#L92
struct field p has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L99
struct field result has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L100
struct field env has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L114
struct field results has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L121
struct field results has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L2277
struct field p has json tag but is not exported
Lint: test/simulator/consensus/types_gen.go#L2299
struct field result has json tag but is not exported
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, 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/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/