Skip to content

Update message.go

Update message.go #298

Triggered via pull request February 18, 2024 12:45
Status Failure
Total duration 37s
Artifacts

ci.yaml

on: pull_request
lint
20s
lint
Check generated code diff
20s
Check generated code diff
Run go tests
28s
Run go tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 8 warnings
lint: ext/dispatcher_ext_test.go#L10
could not import github.com/PaulSonOfLars/gotgbot/v2/ext/handlers/filters/message (-: # github.com/PaulSonOfLars/gotgbot/v2/ext/handlers/filters/message
lint: ext/handlers/conversation_test.go#L11
could not import github.com/PaulSonOfLars/gotgbot/v2/ext/handlers/filters/message (-: # github.com/PaulSonOfLars/gotgbot/v2/ext/handlers/filters/message
lint: ext/handlers/filters/message/message.go#L1
: # github.com/PaulSonOfLars/gotgbot/v2/ext/handlers/filters/message
lint
issues found
Run go tests: ext/handlers/filters/message/message.go#L314
cannot use msg.Entities (variable of type []gotgbot.MessageEntity) as []*gotgbot.MessageEntity value in assignment
Run go tests: ext/handlers/filters/message/message.go#L316
cannot use msg.CaptionEntities (variable of type []gotgbot.MessageEntity) as []*gotgbot.MessageEntity value in assignment
Run go tests
Process completed with exit code 1.
Check generated code diff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check generated code diff
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/
Run go tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run go tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/