refactor: introduce type resource.ID #2463
Annotations
10 errors and 2 warnings
build:
internal/api/client_test.go#L20
cannot use "ws-1" (untyped string constant) as resource.ID value in struct literal
|
build:
internal/api/client_test.go#L21
cannot use "ws-2" (untyped string constant) as resource.ID value in struct literal (compile)
|
build:
internal/loginserver/auth.go#L37
invalid operation: params.ClientID != ClientID (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
build:
internal/loginserver/token.go#L36
invalid operation: params.ClientID != ClientID (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string) (compile)
|
build:
internal/loginserver/auth.go#L37
invalid operation: params.ClientID != ClientID (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
build:
internal/loginserver/token.go#L36
invalid operation: params.ClientID != ClientID (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string) (compile)
|
build:
internal/logs/web_test.go#L44
undefined: internal.GetChunkOptions
|
build:
internal/logs/proxy_test.go#L16
undefined: internal.GetChunkOptions
|
build:
internal/logs/proxy_test.go#L30
cannot use "run-123" (untyped string constant) as resource.ID value in struct literal
|
build:
internal/logs/proxy_test.go#L42
cannot use "run-123" (untyped string constant) as resource.ID value in struct literal
|
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.
|