Skip to content

Don't populate default API URL on getme request #311

Don't populate default API URL on getme request

Don't populate default API URL on getme request #311

Triggered via pull request May 4, 2024 13:30
Status Failure
Total duration 42s
Artifacts

ci.yaml

on: pull_request
lint
18s
lint
Check generated code diff
23s
Check generated code diff
Run go tests
33s
Run go tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 8 warnings
lint: scripts/generate/common.go#L207
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"missing types for \" + n)" (err113)
lint: scripts/generate/common.go#L297
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unknown typename %s\", typeName)" (err113)
lint: scripts/generate/common.go#L321
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"uneven number of quotes in string\")" (err113)
lint: scripts/generate/consts.go#L45
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"missing 'Update' type data\")" (err113)
lint: scripts/generate/consts.go#L83
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"missing '\" + typeName + \"' type data\")" (err113)
lint: scripts/generate/gen.go#L109
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"expected %s to be a parent\", td.Name)" (err113)
lint: scripts/generate/gen.go#L119
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no common fields for parenttype %s\", td.Name)" (err113)
lint: scripts/generate/gen.go#L306
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"mediatype %s is not of kind InputMedia for field %s\", t, f.Name)" (err113)
lint: scripts/generate/gen.go#L331
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to handle reply_markup field with types: %v\", f.Types)" (err113)
lint: scripts/generate/gen.go#L376
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unable to choose one of %v for field %s\", f.Types, f.Name)" (err113)
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/
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/
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/