Skip to content

Fakedata generator #700

Fakedata generator

Fakedata generator #700

Triggered via pull request June 29, 2024 18:58
Status Failure
Total duration 1m 41s
Artifacts

go.yml

on: pull_request
Lint, Build and Test
28s
Lint, Build and Test
CodeQL Analysis
1m 32s
CodeQL Analysis
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Lint, Build and Test: tools/fakedata/main.go#L7
use of `println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
Lint, Build and Test: pkg/fakedata/infra.go#L8
don't use `init` function (gochecknoinits)
Lint, Build and Test: pkg/fakedata/compile.go#L24
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"unknown type: \" + root.Type)" (err113)
Lint, Build and Test: pkg/fakedata/options.go#L41
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"invalid options value type\")" (err113)
Lint, Build and Test: internal/handler/mock/handler.go#L64
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"response is not defined\")" (err113)
Lint, Build and Test
issues found
Lint, Build and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.