Skip to content

Support Actions concurrency syntax #25311

Support Actions concurrency syntax

Support Actions concurrency syntax #25311

Triggered via pull request December 17, 2024 01:49
Status Failure
Total duration 5m 13s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 7 warnings
backend: services/actions/concurrency.go#L17
undefined: act_model.RawConcurrency
backend: services/actions/concurrency.go#L22
undefined: jobparser.ToGitContext
backend: services/actions/concurrency.go#L34
undefined: jobparser.EvaluateJobConcurrency
backend: services/actions/notifier_helper.go#L335
undefined: jobparser.ReadWorkflowRawConcurrency
backend: services/actions/notifier_helper.go#L341
undefined: jobparser.ToGitContext
backend: services/actions/notifier_helper.go#L342
undefined: jobparser.EvaluateWorkflowConcurrency
backend: services/actions/run.go#L116
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
backend: services/actions/run.go#L117
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
backend: services/actions/run.go#L118
job.RawConcurrency undefined (type *jobparser.Job 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: services/actions/concurrency.go#L17
undefined: act_model.RawConcurrency
checks-backend: services/actions/concurrency.go#L22
undefined: jobparser.ToGitContext
checks-backend: services/actions/concurrency.go#L34
undefined: jobparser.EvaluateJobConcurrency
checks-backend: services/actions/notifier_helper.go#L335
undefined: jobparser.ReadWorkflowRawConcurrency
checks-backend: services/actions/notifier_helper.go#L341
undefined: jobparser.ToGitContext
checks-backend: services/actions/notifier_helper.go#L342
undefined: jobparser.EvaluateWorkflowConcurrency
checks-backend: services/actions/run.go#L116
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
checks-backend: services/actions/run.go#L116
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
checks-backend: services/actions/run.go#L117
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
checks-backend: services/actions/run.go#L118
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-go-windows: routers/api/actions/artifacts.go#L82
could not import code.gitea.io/gitea/services/actions (-: # code.gitea.io/gitea/services/actions
lint-go-windows: services/actions/concurrency.go#L17
undefined: act_model.RawConcurrency
lint-go-windows: services/actions/concurrency.go#L22
undefined: jobparser.ToGitContext
lint-go-windows: services/actions/concurrency.go#L34
undefined: jobparser.EvaluateJobConcurrency
lint-go-windows: services/actions/notifier_helper.go#L335
undefined: jobparser.ReadWorkflowRawConcurrency
lint-go-windows: services/actions/notifier_helper.go#L341
undefined: jobparser.ToGitContext
lint-go-windows: services/actions/notifier_helper.go#L342
undefined: jobparser.EvaluateWorkflowConcurrency
lint-go-windows: services/actions/run.go#L116
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-go-windows: services/actions/run.go#L117
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-go-windows: services/actions/run.go#L118
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)) (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
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/actions/artifacts.go#L82
could not import code.gitea.io/gitea/services/actions (-: # code.gitea.io/gitea/services/actions
lint-go-gogit: services/actions/concurrency.go#L17
undefined: act_model.RawConcurrency
lint-go-gogit: services/actions/concurrency.go#L22
undefined: jobparser.ToGitContext
lint-go-gogit: services/actions/concurrency.go#L34
undefined: jobparser.EvaluateJobConcurrency
lint-go-gogit: services/actions/notifier_helper.go#L335
undefined: jobparser.ReadWorkflowRawConcurrency
lint-go-gogit: services/actions/notifier_helper.go#L341
undefined: jobparser.ToGitContext
lint-go-gogit: services/actions/notifier_helper.go#L342
undefined: jobparser.EvaluateWorkflowConcurrency
lint-go-gogit: services/actions/run.go#L116
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-go-gogit: services/actions/run.go#L117
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-go-gogit: services/actions/run.go#L118
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)) (typecheck)
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/actions/artifacts.go#L82
could not import code.gitea.io/gitea/services/actions (-: # code.gitea.io/gitea/services/actions
lint-backend: services/actions/concurrency.go#L17
undefined: act_model.RawConcurrency
lint-backend: services/actions/concurrency.go#L22
undefined: jobparser.ToGitContext
lint-backend: services/actions/concurrency.go#L34
undefined: jobparser.EvaluateJobConcurrency
lint-backend: services/actions/notifier_helper.go#L335
undefined: jobparser.ReadWorkflowRawConcurrency
lint-backend: services/actions/notifier_helper.go#L341
undefined: jobparser.ToGitContext
lint-backend: services/actions/notifier_helper.go#L342
undefined: jobparser.EvaluateWorkflowConcurrency
lint-backend: services/actions/run.go#L116
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-backend: services/actions/run.go#L117
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)
lint-backend: services/actions/run.go#L118
job.RawConcurrency undefined (type *jobparser.Job has no field or method RawConcurrency)) (typecheck)
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-go-windows
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-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636