feat: expansion of gitea api to handle columns #22670
Triggered via pull request
September 20, 2024 08:32
Status
Failure
Total duration
6m 46s
Artifacts
–
pull-compliance.yml
on: pull_request
files-changed
/
detect
4s
lint-backend
5m 28s
lint-templates
36s
lint-yaml
19s
lint-swagger
24s
lint-spell
22s
lint-go-windows
5m 46s
lint-go-gogit
5m 41s
checks-backend
2m 59s
frontend
0s
backend
6m 23s
docs
0s
actions
0s
Annotations
38 errors
lint-yaml:
models/fixtures/project_issue.yml#L29
29:22 [new-line-at-end-of-file] no new line character at the end of file
|
lint-yaml:
models/fixtures/project.yml#L115
115:27 [new-line-at-end-of-file] no new line character at the end of file
|
lint-yaml
Process completed with exit code 2.
|
checks-backend
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
|
checks-backend
Process completed with exit code 2.
|
lint-backend
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
|
lint-backend:
routers/api/v1/api.go#L231
empty-lines: extra empty line at the end of a block (revive)
|
lint-backend:
routers/api/v1/api.go#L481
empty-lines: extra empty line at the end of a block (revive)
|
lint-backend:
routers/api/v1/api.go#L979
`reqUnitAccess` - `unitType` always receives `unit.TypeProjects` (`8`) (unparam)
|
lint-backend:
routers/api/v1/api.go#L1711
empty-lines: extra empty line at the start of a block (revive)
|
lint-backend:
routers/api/v1/project/project_column.go#L7
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
|
lint-backend:
routers/api/v1/repo/project.go#L7
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
|
lint-backend:
routers/api/v1/repo/project.go#L226
empty-lines: extra empty line at the start of a block (revive)
|
lint-backend:
tests/integration/api_org_projects_test.go#L139
empty-lines: extra empty line at the start of a block (revive)
|
lint-backend:
tests/integration/api_project_columns_test.go#L32
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint-backend:
tests/integration/api_project_columns_test.go#L36
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint-go-gogit
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
|
lint-go-gogit:
routers/api/v1/api.go#L231
empty-lines: extra empty line at the end of a block (revive)
|
lint-go-gogit:
routers/api/v1/api.go#L481
empty-lines: extra empty line at the end of a block (revive)
|
lint-go-gogit:
routers/api/v1/api.go#L979
`reqUnitAccess` - `unitType` always receives `unit.TypeProjects` (`8`) (unparam)
|
lint-go-gogit:
routers/api/v1/api.go#L1711
empty-lines: extra empty line at the start of a block (revive)
|
lint-go-gogit:
routers/api/v1/project/project_column.go#L7
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
|
lint-go-gogit:
routers/api/v1/repo/project.go#L7
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
|
lint-go-gogit:
routers/api/v1/repo/project.go#L226
empty-lines: extra empty line at the start of a block (revive)
|
lint-go-gogit:
tests/integration/api_org_projects_test.go#L139
empty-lines: extra empty line at the start of a block (revive)
|
lint-go-gogit:
tests/integration/api_project_columns_test.go#L32
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint-go-gogit:
tests/integration/api_project_columns_test.go#L36
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint-go-windows:
routers/api/v1/api.go#L231
empty-lines: extra empty line at the end of a block (revive)
|
lint-go-windows:
routers/api/v1/api.go#L481
empty-lines: extra empty line at the end of a block (revive)
|
lint-go-windows:
routers/api/v1/api.go#L979
`reqUnitAccess` - `unitType` always receives `unit.TypeProjects` (`8`) (unparam)
|
lint-go-windows:
routers/api/v1/api.go#L1711
empty-lines: extra empty line at the start of a block (revive)
|
lint-go-windows:
routers/api/v1/project/project_column.go#L7
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
|
lint-go-windows:
routers/api/v1/repo/project.go#L7
import 'encoding/json' is not allowed from list 'main': use gitea's modules/json instead of encoding/json (depguard)
|
lint-go-windows:
routers/api/v1/repo/project.go#L226
empty-lines: extra empty line at the start of a block (revive)
|
lint-go-windows:
tests/integration/api_org_projects_test.go#L139
empty-lines: extra empty line at the start of a block (revive)
|
lint-go-windows:
tests/integration/api_project_columns_test.go#L32
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint-go-windows:
tests/integration/api_project_columns_test.go#L36
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint-go-windows
cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
|