Skip to content

feat: CLI Custom Prompts [HACKATHON] #610

feat: CLI Custom Prompts [HACKATHON]

feat: CLI Custom Prompts [HACKATHON] #610

Triggered via pull request April 18, 2024 11:27
Status Failure
Total duration 1m 33s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 7 warnings
Checks: internal/cli/actions.go#L1
: # github.com/auth0/auth0-cli/internal/cli [github.com/auth0/auth0-cli/internal/cli.test]
Checks: internal/cli/prompts_custom_text_test.go#L70
cannot use brandingTextsAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L44
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L58
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L80
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L191
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L339
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L491
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L646
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Checks: internal/cli/universal_login_customize_test.go#L859
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/prompts_custom_text_test.go#L70
cannot use brandingTextsAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L44
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L58
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L80
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L191
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L339
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L491
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L646
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L859
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Unit Tests: internal/cli/universal_login_customize_test.go#L938
cannot use mockPromptAPI (variable of type *mock.MockPromptAPI) as "github.com/auth0/auth0-cli/internal/auth0".PromptAPI value in struct literal: *mock.MockPromptAPI does not implement "github.com/auth0/auth0-cli/internal/auth0".PromptAPI (missing method ReadPartials)
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Checks: internal/auth/auth_test.go#L35
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
Checks: internal/auth/auth_test.go#L92
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
Checks: internal/auth/auth_test.go#L116
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
Checks: internal/auth/authutil/browser.go#L59
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.