fix: fixed notifiers template for telegram #76
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
25 errors and 6 warnings
lint:
pkg/templates/html.go#L1
: # main/pkg/templates
|
lint:
pkg/reporters/discord/discord.go#L11
could not import main/pkg/templates (-: # main/pkg/templates
|
lint:
pkg/reporters/telegram/telegram.go#L12
could not import main/pkg/templates (-: # main/pkg/templates
|
lint:
pkg/app_manager.go#L15
could not import main/pkg/templates (-: # main/pkg/templates
|
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:
pkg/database/database.go#L202
ST1003: var userId should be userID (stylecheck)
|
lint:
pkg/database/database.go#L229
ST1003: method parameter userId should be userID (stylecheck)
|
lint
issues found
|
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
|
go-build:
pkg/templates/html.go#L83
type func(notifier *types.Notifier) string of m.SerializeNotifier does not match inferred type func(*types.Notifiers) V for func(T) V
|
go-build
Process completed with exit code 2.
|
go-vet:
pkg/templates/html.go#L83
type func(notifier *types.Notifier) string of m.SerializeNotifier does not match inferred type func(*types.Notifiers) V for func(T) V
|
go-vet
unknown field Notifier in struct literal
|
go-vet
unknown field Notifier in struct literal
|
go-vet
Process completed with exit code 2.
|
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/
|
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/
|
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/
|