refactor: introduce type resource.ID #2484
Annotations
9 errors and 2 warnings
build:
internal/connections/db.go#L26
cannot use opts.ResourceID (variable of type "github.com/leg100/otf/internal/resource".ID) as *"github.com/leg100/otf/internal/resource".ID value in assignment
|
build:
internal/connections/db.go#L28
cannot use opts.ResourceID (variable of type "github.com/leg100/otf/internal/resource".ID) as *"github.com/leg100/otf/internal/resource".ID value in assignment
|
build:
internal/connections/db.go#L43
cannot use opts.ResourceID (variable of type "github.com/leg100/otf/internal/resource".ID) as *"github.com/leg100/otf/internal/resource".ID value in argument to q.DeleteWorkspaceConnectionByID
|
build:
internal/connections/db.go#L45
cannot use opts.ResourceID (variable of type "github.com/leg100/otf/internal/resource".ID) as *"github.com/leg100/otf/internal/resource".ID value in argument to q.DeleteModuleConnectionByID (compile)
|
build:
internal/logs/db.go#L33
cannot use chunkID (variable of type resource.ID) as pgtype.Text value in argument to db.Querier(ctx).FindLogChunkByID
|
build:
internal/logs/db.go#L39
cannot use chunk.RunID.String (value of type func() string) as string value in argument to resource.ParseID (compile)
|
build:
internal/logs/db.go#L33
cannot use chunkID (variable of type resource.ID) as pgtype.Text value in argument to db.Querier(ctx).FindLogChunkByID
|
build:
internal/logs/db.go#L39
cannot use chunk.RunID.String (value of type func() string) as string value in argument to resource.ParseID (compile)
|
build
Process completed with exit code 2.
|
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.
|