Skip to content

refactor: introduce type resource.ID #2477

refactor: introduce type resource.ID

refactor: introduce type resource.ID #2477

Triggered via pull request November 7, 2024 18:44
@leg100leg100
synchronize #704
refactor-id
Status Failure
Total duration 1m 24s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: internal/pubsub/broker_test.go#L22
not enough arguments in call to NewBroker[*foo]
build: internal/pubsub/broker_test.go#L34
not enough arguments in call to NewBroker[*foo]
build: internal/pubsub/broker_test.go#L46
not enough arguments in call to NewBroker[*foo]
build: internal/pubsub/broker_test.go#L61
not enough arguments in call to NewBroker[*foo]
build: internal/scheduler/queue_test.go#L23
cannot use "run-1" (untyped string constant) as "github.com/leg100/otf/internal/resource".ID value in struct literal
build: internal/scheduler/queue_test.go#L24
cannot use "run-2" (untyped string constant) as "github.com/leg100/otf/internal/resource".ID value in struct literal
build: internal/scheduler/queue_test.go#L25
cannot use "run-3" (untyped string constant) as "github.com/leg100/otf/internal/resource".ID value in struct literal
build: internal/scheduler/queue_test.go#L96
cannot use "run-123" (untyped string constant) as "github.com/leg100/otf/internal/resource".ID value in struct literal
build: internal/scheduler/queue_test.go#L102
ws.Enlock undefined (type *workspace.Workspace has no field or method Enlock)
build: internal/scheduler/queue_test.go#L102
undefined: workspace.UserLock
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
No files were found with the provided path: internal/integration/screenshots/**/*.png. No artifacts will be uploaded.