Skip to content

Support Actions concurrency syntax #25134

Support Actions concurrency syntax

Support Actions concurrency syntax #25134

Triggered via pull request December 13, 2024 07:41
Status Failure
Total duration 5m 43s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

48 errors and 7 warnings
backend: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
backend: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)
backend
Process completed with exit code 1.
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: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
checks-backend: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
checks-backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)
checks-backend: services/actions/concurrency.go#L25
undefined: jobparser.ReadWorkflowRawConcurrency
checks-backend: services/actions/concurrency.go#L30
undefined: jobparser.ToGitContext
checks-backend: services/actions/concurrency.go#L31
undefined: jobparser.EvaluateWorkflowConcurrency
checks-backend: services/actions/concurrency.go#L67
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
checks-backend: services/actions/concurrency.go#L67
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
checks-backend: services/actions/concurrency.go#L68
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
checks-backend: services/actions/concurrency.go#L69
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
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: models/secret/secret.go#L13
could not import code.gitea.io/gitea/modules/actions (-: # code.gitea.io/gitea/modules/actions
lint-backend: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
lint-backend: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
lint-backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)) (typecheck)
lint-backend: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
lint-backend: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
lint-backend: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L133
ctx.AppendContextValue undefined (type *ArtifactContext has no field or method AppendContextValue) (typecheck)
lint-backend: routers/api/actions/artifacts.go#L139
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
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: models/secret/secret.go#L13
could not import code.gitea.io/gitea/modules/actions (-: # code.gitea.io/gitea/modules/actions
lint-go-gogit: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
lint-go-gogit: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
lint-go-gogit: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)) (typecheck)
lint-go-gogit: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
lint-go-gogit: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
lint-go-gogit: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L133
ctx.AppendContextValue undefined (type *ArtifactContext has no field or method AppendContextValue) (typecheck)
lint-go-gogit: routers/api/actions/artifacts.go#L139
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
lint-go-windows: models/secret/secret.go#L13
could not import code.gitea.io/gitea/modules/actions (-: # code.gitea.io/gitea/modules/actions
lint-go-windows: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
lint-go-windows: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
lint-go-windows: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency)) (typecheck)
lint-go-windows: modules/actions/workflows.go#L27
undefined: model.RawConcurrency
lint-go-windows: modules/actions/workflows.go#L99
undefined: model.RawConcurrency
lint-go-windows: modules/actions/workflows.go#L104
workflow.RawConcurrency undefined (type *model.Workflow has no field or method RawConcurrency) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L100
cannot use req.Context().Value(artifactContextKey).(*ArtifactContext) (comma, ok expression of type *ArtifactContext) as "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider value in return statement: *ArtifactContext does not implement "code.gitea.io/gitea/modules/web/types".ResponseStatusProvider (missing method WrittenStatus) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L133
ctx.AppendContextValue undefined (type *ArtifactContext has no field or method AppendContextValue) (typecheck)
lint-go-windows: routers/api/actions/artifacts.go#L139
ctx.Error undefined (type *ArtifactContext has no field or method Error) (typecheck)
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
files-changed / detect
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-spell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-go-gogit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-go-windows
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636