Skip to content

feat: expansion of gitea api to handle columns #22670

feat: expansion of gitea api to handle columns

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
Fit to window
Zoom out
Zoom in

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