Skip to content

Cue gen

Cue gen #389

Triggered via pull request August 18, 2023 19:45
@K-PhoenK-Phoen
synchronize #231
cue-gen
Status Failure
Total duration 1m 44s
Artifacts

ci.yaml

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

Annotations

25 errors
Tests (1.20): gen/playlist/playlist_builder_gen.go#L8
undefined: Dashboard
Tests (1.20): gen/playlist/playlist_builder_gen.go#L12
undefined: Dashboard (typecheck)
Tests (1.20): internal/gen/simplecue/utils.go#L12
`mustDumpsyn` is unused (deadcode)
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#L19
commentFormatting: put a space between `//` and comment text (gocritic)
Tests (1.20): internal/gen/ast/ast.go#L64
Consider pre-allocating `filteredTypes` (prealloc)
Tests (1.20): internal/gen/simplecue/generator.go#L120
Consider pre-allocating `fields` (prealloc)
Tests (1.20): gen/dashboard/dashboard_types_gen.go#L122
exported: type name will be used as dashboard.DashboardCursorSync by other packages, and that stutters; consider calling this CursorSync (revive)
Tests (1.20): gen/dashboard/dashboard_types_gen.go#L131
exported: type name will be used as dashboard.DashboardLink by other packages, and that stutters; consider calling this Link (revive)
Tests (1.20): gen/dashboard/dashboard_types_gen.go#L155
exported: type name will be used as dashboard.DashboardLinkType by other packages, and that stutters; consider calling this LinkType (revive)
Tests (1.20): gen/playlist/playlist_builder_gen.go#L8
undefined: Dashboard
Tests (1.20): gen/playlist/playlist_builder_gen.go#L12
undefined: Dashboard
Tests (1.20)
Process completed with exit code 2.
Tests (1.19)
The job was canceled because "_1_20" failed.
Tests (1.19)
Process completed with exit code 2.
Tests (1.19): gen/playlist/playlist_builder_gen.go#L8
undefined: Dashboard
Tests (1.19): gen/playlist/playlist_builder_gen.go#L12
undefined: Dashboard
Tests (1.19): internal/gen/simplecue/utils.go#L12
`mustDumpsyn` is unused (deadcode)
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#L19
commentFormatting: put a space between `//` and comment text (gocritic)
Tests (1.19): internal/gen/ast/ast.go#L64
Consider pre-allocating `filteredTypes` (prealloc)
Tests (1.19): internal/gen/simplecue/generator.go#L120
Consider pre-allocating `fields` (prealloc)
Tests (1.19): gen/dashboard/dashboard_types_gen.go#L62
var-naming: struct field Id should be ID (revive)
Tests (1.19): gen/dashboard/dashboard_types_gen.go#L64
var-naming: struct field Uid should be UID (revive)
Tests (1.19): gen/dashboard/dashboard_types_gen.go#L73
var-naming: struct field GnetId should be GnetID (revive)