refactor: introduce type resource.ID #2461
Annotations
10 errors and 2 warnings
internal/api/client_test.go#L20
cannot use "ws-1" (untyped string constant) as resource.ID value in struct literal
|
internal/api/client_test.go#L21
cannot use "ws-2" (untyped string constant) as resource.ID value in struct literal (compile)
|
internal/authenticator/oauth_client.go#L69
invalid operation: cfg.ClientID == "" (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
internal/authenticator/oauth_client.go#L72
invalid operation: cfg.ClientID != "" (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
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
|
internal/authenticator/service.go#L48
invalid operation: cfg.ClientID == "" (mismatched types "github.com/leg100/otf/internal/resource".ID and untyped string)
|
internal/authenticator/service.go#L57
not enough arguments in call to newOAuthClient
|
internal/authenticator/service.go#L79
not enough arguments in call to newOAuthClient
|
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)
|
internal/authenticator/helper_test.go#L21
undefined: tokens.StartSessionOptions
|
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/
|
|
The logs for this run have expired and are no longer available.
Loading