Skip to content

openapiベースに変更 #1764

openapiベースに変更

openapiベースに変更 #1764

Triggered via pull request November 8, 2024 00:43
Status Failure
Total duration 1m 10s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

47 errors and 6 warnings
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Mod
Cannot open: File exists
Spectral
No ruleset has been found. Please provide a ruleset using the spectral_ruleset option, or make sure your ruleset file matches .?spectral.(js|ya?ml|json)
Build: tuning/main.go#L12
missing go.sum entry for module providing package golang.org/x/sync/errgroup (imported by github.com/traPtitech/anke-to/tuning); to add:
Build
Process completed with exit code 1.
[golangci] controller/adapter.go#L1: controller/adapter.go#L1
: # github.com/traPtitech/anke-to/controller
[golangci] controller/adapter.go#L272: controller/adapter.go#L272
cannot use respondentDetail.TraqID (variable of type string) as *string value in struct literal
[golangci] controller/questionnaire.go#L662: controller/questionnaire.go#L662
cannot use userID (variable of type string) as *string value in struct literal
[golangci] controller/response.go#L79: controller/response.go#L79
cannot use userID (variable of type string) as *string value in struct literal (typecheck)
[golangci] handler/questionnaire.go#L9: handler/questionnaire.go#L9
could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
[golangci] controller/adapter.go#L272: controller/adapter.go#L272
cannot use respondentDetail.TraqID (variable of type string) as *string value in struct literal
[golangci] controller/questionnaire.go#L662: controller/questionnaire.go#L662
cannot use userID (variable of type string) as *string value in struct literal
[golangci] controller/response.go#L79: controller/response.go#L79
cannot use userID (variable of type string) as *string value in struct literal) (typecheck)
[golangci] handler/questionnaire.go#L194: handler/questionnaire.go#L194
undefined: openapi.Result (typecheck)
[golangci] model/administratorGroups.go#L1: model/administratorGroups.go#L1
: # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]
[golangci] model/questionnaires_test.go#L1403: model/questionnaires_test.go#L1403
declared and not used: actualTargetGroups
[golangci] model/questionnaires_test.go#L1403: model/questionnaires_test.go#L1403
declared and not used: actualAdministratorGroups
Lint: controller/adapter.go#L272
cannot use respondentDetail.TraqID (variable of type string) as *string value in struct literal
Lint: controller/questionnaire.go#L662
cannot use userID (variable of type string) as *string value in struct literal
Lint: controller/response.go#L79
cannot use userID (variable of type string) as *string value in struct literal (typecheck)
Lint: handler/questionnaire.go#L9
could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
Lint: controller/adapter.go#L272
cannot use respondentDetail.TraqID (variable of type string) as *string value in struct literal
Lint: controller/questionnaire.go#L662
cannot use userID (variable of type string) as *string value in struct literal
Lint: controller/response.go#L79
cannot use userID (variable of type string) as *string value in struct literal) (typecheck)
Lint: handler/questionnaire.go#L194
undefined: openapi.Result (typecheck)
Lint: wire_gen.go#L12
could not import github.com/traPtitech/anke-to/router (-: # github.com/traPtitech/anke-to/router
Lint: router/questionnaires.go#L123
not enough arguments in call to q.IQuestionnaire.GetQuestionnaires
Test
missing go.sum entry for module providing package golang.org/x/sync/errgroup (imported by golang.org/x/tools/go/packages); to add:
Test
Process completed with exit code 1.
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Test
Cannot open: File exists
Mod
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Mod
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, reviewdog/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2