refactor: introduce type resource.ID #2461
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/authenticator/oauth_client.go#L69
invalid operation: cfg.ClientID == "" (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
build:
internal/authenticator/oauth_client.go#L72
invalid operation: cfg.ClientID != "" (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
build:
internal/authenticator/oauth_client.go#L184
cannot use a.ClientID (variable of type "github.com/leg100/otf/internal/resource".ID) as string value in struct literal
|
build:
internal/authenticator/service.go#L48
invalid operation: cfg.ClientID == "" (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
build:
internal/authenticator/service.go#L57
not enough arguments in call to newOAuthClient
|
build:
internal/authenticator/service.go#L79
not enough arguments in call to newOAuthClient
|
build:
internal/authenticator/service.go#L82
cannot use opts.IDTokenHandlerConfig.ClientID (variable of type string) as "github.com/leg100/otf/internal/resource".ID value in struct literal (compile)
|
build:
internal/authenticator/helper_test.go#L21
undefined: tokens.StartSessionOptions
|
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.
|