Skip to content

chore: adding unit test #83

chore: adding unit test

chore: adding unit test #83

Triggered via pull request June 28, 2023 21:18
Status Failure
Total duration 1m 7s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: cmd/models/list_test.go#L111
Function 'TestListModelsMultiPage' is too long (69 > 60) (funlen)
lint: cmd/models/list_test.go#L77
string `{"id":"01GXSA8YR785C4FYS3C0RTG7B1","schema_version":"1.1","type_definitions":[{"relations":{"viewer":{"this":{}}},"type":"github-repo"}]}` has 3 occurrences, make it a constant (goconst)
lint: cmd/models/get_test.go#L16
Comment should end in a period (godot)
lint: cmd/models/get_test.go#L45
Comment should end in a period (godot)
lint: cmd/models/get_test.go#L78
Comment should end in a period (godot)
lint: cmd/models/get.go#L64
File is not `gofumpt`-ed (gofumpt)
lint: cmd/models/get_test.go#L42
File is not `gofumpt`-ed (gofumpt)
lint: cmd/models/get_test.go#L75
File is not `gofumpt`-ed (gofumpt)
lint: cmd/models/get_test.go#L22
line is 136 characters (lll)
lint: cmd/models/get_test.go#L24
line is 177 characters (lll)
lint: cmd/models/write_test.go#L67
var-naming: const modelId should be modelID (revive)