Skip to content

fix: don't use uuid.UUID for id fields #226

fix: don't use uuid.UUID for id fields

fix: don't use uuid.UUID for id fields #226

Triggered via pull request April 17, 2025 20:15
Status Failure
Total duration 2m 1s
Artifacts

gotest.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
test-go: types/owner_test.go#L12
cannot use uuid.MustParse("f6457744-3e16-45b2-b3b0-80c2df491c99") (value of array type "github.com/google/uuid".UUID) as string value in struct literal
test-go: types/owner_test.go#L21
cannot use uuid.MustParse("5af9253a-ecde-4a71-b8f5-c8d15be9e52b") (value of array type "github.com/google/uuid".UUID) as string value in struct literal
test-go: types/owner_test.go#L25
owner.ToCtyValue undefined (type WorkspaceOwner has no field or method ToCtyValue)
test-go: types/owner_test.go#L28
owner.ID.String undefined (type string has no field or method String)
test-go: types/owner_test.go#L37
it.OrgID.String undefined (type string has no field or method String)
test-go: types/owner_test.go#L43
cannot use uuid.MustParse("f6457744-3e16-45b2-b3b0-80c2df491c99") (value of array type "github.com/google/uuid".UUID) as string value in struct literal
test-go: types/owner_test.go#L53
owner.ToCtyValue undefined (type WorkspaceOwner has no field or method ToCtyValue)
test-go
Process completed with exit code 1.
test-go
Restore cache failed: Dependencies file is not found in /home/runner/work/preview/preview. Supported file pattern: go.sum