Skip to content

feat: implement GetQuestionnaireResult, GetMyResponses, GetResponse and DeleteResponse #1733

feat: implement GetQuestionnaireResult, GetMyResponses, GetResponse and DeleteResponse

feat: implement GetQuestionnaireResult, GetMyResponses, GetResponse and DeleteResponse #1733

Triggered via pull request August 28, 2024 10:39
Status Failure
Total duration 3m 24s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 8 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] handler/questionnaire.go#L6: handler/questionnaire.go#L6
"time" imported and not used (typecheck)
Lint: controller/questionnaire.go#L336
missing return (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#L336
missing return) (typecheck)
Lint: handler/questionnaire.go#L6
"time" imported and not used (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
Lint: router/questionnaires.go#L253
assignment mismatch: 5 variables but q.GetQuestionnaireInfo returns 7 values
Lint: router/results.go#L36
not enough arguments in call to r.GetRespondentDetails
Lint: model/questionnaires_test.go#L1056
not enough arguments in call to questionnaireImpl.GetQuestionnaires
Lint: model/questionnaires_test.go#L1327
actualTargetGroups declared and not used
Build: controller/questionnaire.go#L336
missing return
Build: router/questionnaires.go#L123
not enough arguments in call to q.IQuestionnaire.GetQuestionnaires
Build: router/questionnaires.go#L253
assignment mismatch: 5 variables but q.GetQuestionnaireInfo returns 7 values
Build: router/results.go#L36
not enough arguments in call to r.GetRespondentDetails
Build
Process completed with exit code 1.
Test
Process completed with exit code 1.
Mod
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/cache@v3.3.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Mod
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, reviewdog/action-golangci-lint@v2.3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/cache@v3.3.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/cache@v3.3.2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum