Skip to content

fix: v2 API upgrade #173

fix: v2 API upgrade

fix: v2 API upgrade #173

Triggered via pull request January 27, 2024 02:04
Status Failure
Total duration 38s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 3 warnings
build: cmd/insights/user-contributions.go#L273
opts.APIClient.RepositoryServiceAPI.FindAllContributorsByRepoId undefined (type *client.RepositoryServiceAPIService has no field or method FindAllContributorsByRepoId)
build: cmd/show/contributors.go#L194
m.APIClient.UserServiceAPI.FindContributorPullRequests undefined (type *client.UserServiceAPIService has no field or method FindContributorPullRequests)
build: cmd/show/dashboard.go#L267
m.APIClient.ContributorsServiceAPI.NewPullRequestContributors(m.serverContext).Page(int32(m.queryOptions[0])).Limit(int32(m.queryOptions[1])).RepoIds undefined (type client.ApiNewPullRequestContributorsRequest has no field or method RepoIds)
build: cmd/show/dashboard.go#L284
m.APIClient.ContributorsServiceAPI.FindAllChurnPullRequestContributors(m.serverContext).Page(int32(m.queryOptions[0])).Limit(int32(m.queryOptions[1])).Range_(int32(m.queryOptions[2])).RepoIds undefined (type client.ApiFindAllChurnPullRequestContributorsRequest has no field or method RepoIds)
build
Process completed with exit code 2.
test: cmd/insights/user-contributions.go#L273
opts.APIClient.RepositoryServiceAPI.FindAllContributorsByRepoId undefined (type *client.RepositoryServiceAPIService has no field or method FindAllContributorsByRepoId)
test: cmd/show/contributors.go#L194
m.APIClient.UserServiceAPI.FindContributorPullRequests undefined (type *client.UserServiceAPIService has no field or method FindContributorPullRequests)
test: cmd/show/dashboard.go#L267
m.APIClient.ContributorsServiceAPI.NewPullRequestContributors(m.serverContext).Page(int32(m.queryOptions[0])).Limit(int32(m.queryOptions[1])).RepoIds undefined (type client.ApiNewPullRequestContributorsRequest has no field or method RepoIds)
test: cmd/show/dashboard.go#L284
m.APIClient.ContributorsServiceAPI.FindAllChurnPullRequestContributors(m.serverContext).Page(int32(m.queryOptions[0])).Limit(int32(m.queryOptions[1])).Range_(int32(m.queryOptions[2])).RepoIds undefined (type client.ApiFindAllChurnPullRequestContributorsRequest has no field or method RepoIds)
test
Process completed with exit code 2.
lint: cmd/insights/contributors.go#L1
: # github.com/open-sauced/pizza-cli/cmd/insights
lint: cmd/insights/user-contributions.go#L273
opts.APIClient.RepositoryServiceAPI.FindAllContributorsByRepoId undefined (type *client.RepositoryServiceAPIService has no field or method FindAllContributorsByRepoId) (typecheck)
lint: cmd/show/constants.go#L1
: # github.com/open-sauced/pizza-cli/cmd/show
lint: cmd/show/contributors.go#L194
m.APIClient.UserServiceAPI.FindContributorPullRequests undefined (type *client.UserServiceAPIService has no field or method FindContributorPullRequests)
lint: cmd/show/dashboard.go#L267
m.APIClient.ContributorsServiceAPI.NewPullRequestContributors(m.serverContext).Page(int32(m.queryOptions[0])).Limit(int32(m.queryOptions[1])).RepoIds undefined (type client.ApiNewPullRequestContributorsRequest has no field or method RepoIds)
lint: cmd/show/dashboard.go#L284
m.APIClient.ContributorsServiceAPI.FindAllChurnPullRequestContributors(m.serverContext).Page(int32(m.queryOptions[0])).Limit(int32(m.queryOptions[1])).Range_(int32(m.queryOptions[2])).RepoIds undefined (type client.ApiFindAllChurnPullRequestContributorsRequest has no field or method RepoIds) (typecheck)
lint: cmd/root/root.go#L9
could not import github.com/open-sauced/pizza-cli/cmd/insights (-: # github.com/open-sauced/pizza-cli/cmd/insights
lint: cmd/insights/user-contributions.go#L273
opts.APIClient.RepositoryServiceAPI.FindAllContributorsByRepoId undefined (type *client.RepositoryServiceAPIService has no field or method FindAllContributorsByRepoId)) (typecheck)
lint: cmd/root/root.go#L11
could not import github.com/open-sauced/pizza-cli/cmd/show (-: # github.com/open-sauced/pizza-cli/cmd/show
lint: cmd/show/contributors.go#L194
m.APIClient.UserServiceAPI.FindContributorPullRequests undefined (type *client.UserServiceAPIService has no field or method FindContributorPullRequests)
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.