Skip to content

Cue gen

Cue gen #401

Triggered via pull request August 20, 2023 23:35
@K-PhoenK-Phoen
synchronize #231
cue-gen
Status Failure
Total duration 2m 4s
Artifacts

ci.yaml

on: pull_request
Documentation
59s
Documentation
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

27 errors
Tests (1.20): cmd/sandbox/builder/main.go#L14
undefined: dashboard.DashboardLink (typecheck)
Tests (1.20): gen/sandbox/sandbox_builder_gen.go#L3
"github.com/K-Phoen/grabana/gen/dashboard/types" imported and not used
Tests (1.20): gen/sandbox/sandbox_builder_gen.go#L43
cannot use &someMap (value of type *map[string]int32) as map[string]int32 value in assignment
Tests (1.20): gen/sandbox/sandbox_builder_gen.go#L52
cannot use &operatorStates (value of type *map[string]OperatorState) as map[string]OperatorState value in assignment (typecheck)
Tests (1.20): internal/gen/simplecue/utils.go#L12
`mustDumpsyn` is unused (deadcode)
Tests (1.20): internal/gen/jennies/golang/tmpl.go#L13
don't use `init` function (gochecknoinits)
Tests (1.20): internal/gen/simplecue/generator.go#L426
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Tests (1.20): internal/gen/simplecue/utils.go#L72
ifElseChain: rewrite if-else to switch statement (gocritic)
Tests (1.20): cmd/sandbox/codegen-cue/main.go#L20
commentFormatting: put a space between `//` and comment text (gocritic)
Tests (1.20): cmd/sandbox/codegen-cue/main.go#L23
commentFormatting: put a space between `//` and comment text (gocritic)
Tests (1.20): cmd/sandbox/builder/main.go#L14
undefined: dashboard.DashboardLink
Tests (1.20): gen/sandbox/sandbox_builder_gen.go#L3
"github.com/K-Phoen/grabana/gen/dashboard/types" imported and not used
Tests (1.20): gen/sandbox/sandbox_builder_gen.go#L43
cannot use &someMap (value of type *map[string]int32) as map[string]int32 value in assignment
Tests (1.20): gen/sandbox/sandbox_builder_gen.go#L52
cannot use &operatorStates (value of type *map[string]OperatorState) as map[string]OperatorState value in assignment
Tests (1.20)
Process completed with exit code 2.
Tests (1.19)
The job was canceled because "_1_20" failed.
Tests (1.19)
The operation was canceled.
Tests (1.19): cmd/sandbox/builder/main.go#L14
undefined: dashboard.DashboardLink
Tests (1.19): gen/sandbox/sandbox_builder_gen.go#L3
imported and not used: "github.com/K-Phoen/grabana/gen/dashboard/types"
Tests (1.19): gen/sandbox/sandbox_builder_gen.go#L43
cannot use &someMap (value of type *map[string]int32) as type map[string]int32 in assignment
Tests (1.19): gen/sandbox/sandbox_builder_gen.go#L52
cannot use &operatorStates (value of type *map[string]OperatorState) as type map[string]OperatorState in assignment
Tests (1.19): internal/gen/simplecue/utils.go#L12
`mustDumpsyn` is unused (deadcode)
Tests (1.19): internal/gen/jennies/golang/tmpl.go#L13
don't use `init` function (gochecknoinits)
Tests (1.19): internal/gen/simplecue/generator.go#L426
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Tests (1.19): internal/gen/simplecue/utils.go#L72
ifElseChain: rewrite if-else to switch statement (gocritic)
Tests (1.19): cmd/sandbox/codegen-cue/main.go#L20
commentFormatting: put a space between `//` and comment text (gocritic)
Tests (1.19): cmd/sandbox/codegen-cue/main.go#L23
commentFormatting: put a space between `//` and comment text (gocritic)