Skip to content

openapiベースに変更 #1713

openapiベースに変更

openapiベースに変更 #1713

Triggered via pull request June 18, 2024 05:10
Status Failure
Total duration 1m 4s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 8 warnings
Build: controller/utils.go#L5
package slices is not in GOROOT (/opt/hostedtoolcache/go/1.20.14/x64/src/slices)
Build
Process completed with exit code 1.
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] 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#L1327: model/questionnaires_test.go#L1327
actualTargetGroups declared and not used
[golangci] model/questionnaires_test.go#L1327: model/questionnaires_test.go#L1327
actualAdministratorGroups declared and not used
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
Lint: model/questionnaires_test.go#L1327
actualAdministratorGroups declared and not used
Lint: model/respondents_test.go#L870
not enough arguments in call to respondentImpl.GetRespondentDetails
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 (typecheck)
Test
*github.com/traPtitech/anke-to/model.Questionnaire does not implement github.com/traPtitech/anke-to/model.IQuestionnaire
Test
Process completed with exit code 1.
Mod
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/cache@v3.3.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mod
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/cache@v3.3.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, reviewdog/action-golangci-lint@v2.3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/cache@v3.3.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum