1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

Enable golangci linter contextcheck (#3170)

Split out from https://github.com/woodpecker-ci/woodpecker/pull/2960
This commit is contained in:
Robert Kaussow
2024-01-11 22:15:15 +01:00
committed by GitHub
parent d0380e31b5
commit f813badcf9
10 changed files with 32 additions and 35 deletions

View File

@@ -112,7 +112,7 @@ func (r *Runtime) Run(runnerCtx context.Context) error {
}()
r.started = time.Now().Unix()
if err := r.engine.SetupWorkflow(r.ctx, r.spec, r.taskUUID); err != nil {
if err := r.engine.SetupWorkflow(runnerCtx, r.spec, r.taskUUID); err != nil {
return err
}