Skip to content

リマインダーの実装(openapi) #1766

リマインダーの実装(openapi)

リマインダーの実装(openapi) #1766

Triggered via pull request November 8, 2024 11:33
Status Failure
Total duration 5m 46s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 5 warnings
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)
[golangci] main.go#L13: main.go#L13
could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
Lint: controller/questionnaire.go#L721
cannot use userID (variable of type string) as *string value in struct literal
Lint: controller/questionnaire.go#L797
undefined: openapi.Result
Lint: controller/questionnaire.go#L798
undefined: openapi.Result
Lint: controller/questionnaire.go#L804
undefined: openapi.Result
Lint: controller/questionnaire.go#L807
undefined: openapi.Result
Lint: controller/questionnaire.go#L811
undefined: openapi.ResultItem
Lint: controller/adapter.go#L272
cannot use respondentDetail.TraqID (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/questionnaire.go#L721
cannot use userID (variable of type string) as *string value in struct literal
Build: router/questionnaires.go#L123
not enough arguments in call to q.IQuestionnaire.GetQuestionnaires
Build: router/questionnaires.go#L185
not enough arguments in call to q.InsertQuestionnaire
Build: router/questionnaires.go#L253
assignment mismatch: 5 variables but q.GetQuestionnaireInfo returns 7 values
Build: router/questionnaires.go#L412
not enough arguments in call to q.UpdateQuestionnaire
Build: router/results.go#L36
not enough arguments in call to r.GetRespondentDetails
Build: controller/questionnaire.go#L721
cannot use userID (variable of type string) as *string value in struct literal
Build: controller/questionnaire.go#L797
undefined: openapi.Result
Build: controller/questionnaire.go#L798
undefined: openapi.Result
Build: controller/questionnaire.go#L804
undefined: openapi.Result
Build: controller/questionnaire.go#L807
undefined: openapi.Result
Test
*github.com/traPtitech/anke-to/model.Questionnaire does not implement github.com/traPtitech/anke-to/model.IQuestionnaire
Test
*github.com/traPtitech/anke-to/model.Respondent does not implement github.com/traPtitech/anke-to/model.IRespondent
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
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/
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/
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/
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