Skip to content

Bump gorm.io/gorm from 1.22.5 to 1.25.4 #1413

Bump gorm.io/gorm from 1.22.5 to 1.25.4

Bump gorm.io/gorm from 1.22.5 to 1.25.4 #1413

Triggered via pull request August 21, 2023 18:31
Status Failure
Total duration 2m 23s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 5 warnings
Spectral
Resource not accessible by integration
Build
cannot use column (variable of type Column) as gorm.ColumnType value in argument to append: Column does not implement gorm.ColumnType (missing method AutoIncrement)
Build
Process completed with exit code 1.
Test
cannot use column (variable of type Column) as gorm.ColumnType value in argument to append: Column does not implement gorm.ColumnType (missing method AutoIncrement)
Test
Process completed with exit code 1.
Lint: model/db.go#L7
could not import gorm.io/driver/mysql (-: # gorm.io/driver/mysql
Lint
cannot use column (variable of type Column) as gorm.ColumnType value in argument to append: Column does not implement gorm.ColumnType (missing method AutoIncrement)) (typecheck)
Lint: router/middleware.go#L128
m.CheckQuestionnaireAdmin undefined (type *Middleware has no field or method CheckQuestionnaireAdmin) (typecheck)
Lint: router/middleware.go#L160
m.GetRespondent undefined (type *Middleware has no field or method GetRespondent) (typecheck)
Lint: router/middleware.go#L186
m.GetResponseReadPrivilegeInfoByResponseID undefined (type *Middleware has no field or method GetResponseReadPrivilegeInfoByResponseID) (typecheck)
Lint: router/middleware.go#L224
m.GetRespondent undefined (type *Middleware has no field or method GetRespondent) (typecheck)
Lint: router/middleware.go#L270
m.CheckQuestionAdmin undefined (type *Middleware has no field or method CheckQuestionAdmin) (typecheck)
Lint: router/middleware.go#L301
m.GetResponseReadPrivilegeInfoByQuestionnaireID undefined (type *Middleware has no field or method GetResponseReadPrivilegeInfoByQuestionnaireID) (typecheck)
Lint: router/questionnaires.go#L185
q.InsertQuestionnaire undefined (type *Questionnaire has no field or method InsertQuestionnaire) (typecheck)
Lint: router/questionnaires.go#L191
q.InsertTargets undefined (type *Questionnaire has no field or method InsertTargets) (typecheck)
Mod
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum
Lint
Failed to save: reserveCache failed: Cache service responded with 500
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/anke-to/anke-to. Supported file pattern: go.sum