Skip to content

chore: fixed linting #78

chore: fixed linting

chore: fixed linting #78

Triggered via push July 15, 2023 01:17
Status Failure
Total duration 2m 36s
Artifacts

actions.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 6 warnings
lint: pkg/state/blocks.go#L1
: # main/pkg/state [main/pkg/state.test]
lint: pkg/types/block.go#L1
: # main/pkg/types [main/pkg/types.test]
lint
issues found
go-vet
unknown field Notifier in struct literal
go-vet
unknown field Notifier in struct literal
go-vet
Process completed with exit code 2.
test: pkg/types/notifiers_test.go#L16
unknown field 'Notifier' in struct literal of type Notifier
test: pkg/types/notifiers_test.go#L22
unknown field 'Notifier' in struct literal of type Notifier
test: pkg/state/state_test.go#L50
unknown field 'Notifier' in struct literal of type types.Notifier
test: pkg/state/state_test.go#L54
not enough arguments in call to state.AddNotifier
test: pkg/state/state_test.go#L67
unknown field 'Notifier' in struct literal of type types.Notifier
test: pkg/state/state_test.go#L71
not enough arguments in call to state.AddNotifier
test: pkg/state/state_test.go#L84
unknown field 'Notifier' in struct literal of type types.Notifier
test: pkg/state/state_test.go#L89
unknown field 'Notifier' in struct literal of type types.Notifier
test: pkg/state/state_test.go#L106
unknown field 'Notifier' in struct literal of type types.Notifier
test: pkg/state/state_test.go#L111
unknown field 'Notifier' in struct literal of type types.Notifier
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@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 `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
go-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
go-vet
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
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/