Skip to content

fix: add question operations in questionnaire handling #1791

fix: add question operations in questionnaire handling

fix: add question operations in questionnaire handling #1791

Triggered via pull request December 18, 2024 11:22
Status Failure
Total duration 5m 38s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 6 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)
Lint: controller/adapter.go#L91
cannot use question.ID (variable of type int) as *int value in struct literal
Lint: controller/adapter.go#L93
unknown field Title in struct literal of type openapi.Question (typecheck)
Lint: handler/handler.go#L3
could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
Lint: controller/adapter.go#L91
cannot use question.ID (variable of type int) as *int value in struct literal
Lint: controller/adapter.go#L93
unknown field Title in struct literal of type openapi.Question) (typecheck)
Lint: main.go#L13
could not import github.com/traPtitech/anke-to/controller (-: # github.com/traPtitech/anke-to/controller
Lint: controller/adapter.go#L91
cannot use question.ID (variable of type int) as *int value in struct literal
Lint: controller/adapter.go#L93
unknown field Title in struct literal of type openapi.Question) (typecheck)
Lint: model/questionnaires_test.go#L1198
not enough arguments in call to questionnaireImpl.GetQuestionnaires
Lint: model/questionnaires_test.go#L1469
declared and not used: actualTargetGroups
Build: controller/adapter.go#L91
cannot use question.ID (variable of type int) as *int value in struct literal
Build: controller/adapter.go#L93
unknown field Title in struct literal of type openapi.Question
Build
Process completed with exit code 1.
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
Spectral
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mod
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2