Skip to content

openapiベースに変更 #1698

openapiベースに変更

openapiベースに変更 #1698

Triggered via pull request May 14, 2024 06:25
Status Failure
Total duration 1m 1s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 8 warnings
[golangci] controller/adapter.go#L4: controller/adapter.go#L4
could not import github.com/traPtitech/anke-to/model (-: # github.com/traPtitech/anke-to/model
[golangci] model/questionnaires_impl.go#L326: model/questionnaires_impl.go#L326
undefined: administoratorGroups) (typecheck)
[golangci] controller/questionnaire.go#L83: controller/questionnaire.go#L83
q.GetRespondentInfos undefined (type Questionnaire has no field or method GetRespondentInfos) (typecheck)
[golangci] controller/questionnaire.go#L122: controller/questionnaire.go#L122
q.InsertQuestionnaire undefined (type Questionnaire has no field or method InsertQuestionnaire) (typecheck)
[golangci] controller/questionnaire.go#L137: controller/questionnaire.go#L137
q.InsertTargets undefined (type Questionnaire has no field or method InsertTargets) (typecheck)
[golangci] controller/questionnaire.go#L142: controller/questionnaire.go#L142
q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
[golangci] controller/questionnaire.go#L157: controller/questionnaire.go#L157
q.InsertAdministrators undefined (type Questionnaire has no field or method InsertAdministrators) (typecheck)
[golangci] controller/questionnaire.go#L162: controller/questionnaire.go#L162
q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
[golangci] controller/questionnaire.go#L188: controller/questionnaire.go#L188
q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
[golangci] controller/questionnaire.go#L198: controller/questionnaire.go#L198
q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (typecheck)
[golangci] controller/questionnaire.go#L213: controller/questionnaire.go#L213
q.UpdateQuestionnaire undefined (type Questionnaire has no field or method UpdateQuestionnaire) (typecheck)
[golangci] controller/questionnaire.go#L218: controller/questionnaire.go#L218
q.DeleteTargets undefined (type Questionnaire has no field or method DeleteTargets) (typecheck)
[golangci] controller/questionnaire.go#L223: controller/questionnaire.go#L223
q.DeleteTargetGroups undefined (type Questionnaire has no field or method DeleteTargetGroups) (typecheck)
[golangci] controller/questionnaire.go#L233: controller/questionnaire.go#L233
q.InsertTargets undefined (type Questionnaire has no field or method InsertTargets) (typecheck)
[golangci] controller/questionnaire.go#L238: controller/questionnaire.go#L238
q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
[golangci] controller/questionnaire.go#L243: controller/questionnaire.go#L243
q.DeleteAdministrators undefined (type Questionnaire has no field or method DeleteAdministrators) (typecheck)
[golangci] controller/questionnaire.go#L248: controller/questionnaire.go#L248
q.DeleteAdministratorGroups undefined (type Questionnaire has no field or method DeleteAdministratorGroups) (typecheck)
[golangci] controller/questionnaire.go#L258: controller/questionnaire.go#L258
q.InsertAdministrators undefined (type Questionnaire has no field or method InsertAdministrators) (typecheck)
[golangci] controller/questionnaire.go#L263: controller/questionnaire.go#L263
q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
[golangci] controller/questionnaire.go#L287: controller/questionnaire.go#L287
q.DeleteTargets undefined (type Questionnaire has no field or method DeleteTargets) (typecheck)
[golangci] controller/questionnaire.go#L293: controller/questionnaire.go#L293
q.DeleteAdministrators undefined (type Questionnaire has no field or method DeleteAdministrators) (typecheck)
[golangci] model/questionnaires_impl.go#L326: model/questionnaires_impl.go#L326
undefined: administoratorGroups) (typecheck)
[golangci] model/questionnaires_impl.go#L326: model/questionnaires_impl.go#L326
undefined: targetGroups (typecheck)
[golangci] model/questionnaires_impl.go#L326: model/questionnaires_impl.go#L326
undefined: administoratorGroups) (typecheck)
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)
Lint: controller/adapter.go#L4
could not import github.com/traPtitech/anke-to/model (-: # github.com/traPtitech/anke-to/model
Lint: model/questionnaires_impl.go#L326
undefined: targetGroups
Lint: model/questionnaires_impl.go#L326
undefined: administoratorGroups) (typecheck)
Lint: controller/questionnaire.go#L83
q.GetRespondentInfos undefined (type Questionnaire has no field or method GetRespondentInfos) (typecheck)
Lint: controller/questionnaire.go#L122
q.InsertQuestionnaire undefined (type Questionnaire has no field or method InsertQuestionnaire) (typecheck)
Lint: controller/questionnaire.go#L137
q.InsertTargets undefined (type Questionnaire has no field or method InsertTargets) (typecheck)
Lint: controller/questionnaire.go#L142
q.InsertTargetGroups undefined (type Questionnaire has no field or method InsertTargetGroups) (typecheck)
Lint: controller/questionnaire.go#L157
q.InsertAdministrators undefined (type Questionnaire has no field or method InsertAdministrators) (typecheck)
Lint: controller/questionnaire.go#L162
q.InsertAdministratorGroups undefined (type Questionnaire has no field or method InsertAdministratorGroups) (typecheck)
Lint: controller/questionnaire.go#L188
q.GetQuestionnaireInfo undefined (type Questionnaire has no field or method GetQuestionnaireInfo) (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