@@ -407,7 +407,8 @@ func (f *repoFixture) insertWorkflowRun(t *testing.T, fx workflowRunFixture, bas |
| 407 | 407 | conclusion = actionsdb.NullCheckConclusion{CheckConclusion: fx.Conclusion, Valid: true} |
| 408 | 408 | } |
| 409 | 409 | var id int64 |
| 410 | | - err := f.pool.QueryRow(context.Background(), ` |
| 410 | + err := f.pool.QueryRow( |
| 411 | + context.Background(), ` |
| 411 | 412 | INSERT INTO workflow_runs ( |
| 412 | 413 | repo_id, run_index, workflow_file, workflow_name, |
| 413 | 414 | head_sha, head_ref, event, event_payload, actor_user_id, |
@@ -483,7 +484,8 @@ func (f *repoFixture) insertWorkflowJob(t *testing.T, fx workflowJobFixture) int |
| 483 | 484 | runnerID = pgtype.Int8{Int64: f.insertWorkflowRunner(t), Valid: true} |
| 484 | 485 | } |
| 485 | 486 | var id int64 |
| 486 | | - err := f.pool.QueryRow(context.Background(), ` |
| 487 | + err := f.pool.QueryRow( |
| 488 | + context.Background(), ` |
| 487 | 489 | INSERT INTO workflow_jobs ( |
| 488 | 490 | run_id, job_index, job_key, job_name, runs_on, needs_jobs, |
| 489 | 491 | runner_id, status, conclusion, started_at, completed_at |
@@ -513,7 +515,8 @@ func (f *repoFixture) insertWorkflowJob(t *testing.T, fx workflowJobFixture) int |
| 513 | 515 | func (f *repoFixture) insertWorkflowRunner(t *testing.T) int64 { |
| 514 | 516 | t.Helper() |
| 515 | 517 | var id int64 |
| 516 | | - err := f.pool.QueryRow(context.Background(), ` |
| 518 | + err := f.pool.QueryRow( |
| 519 | + context.Background(), ` |
| 517 | 520 | INSERT INTO workflow_runners (name, labels, status) |
| 518 | 521 | VALUES ($1, ARRAY['ubuntu-latest']::text[], 'busy') |
| 519 | 522 | RETURNING id`, |
@@ -560,7 +563,8 @@ func (f *repoFixture) insertWorkflowStep(t *testing.T, fx workflowStepFixture) i |
| 560 | 563 | completedAt = pgtype.Timestamptz{Time: fx.CompletedAt, Valid: true} |
| 561 | 564 | } |
| 562 | 565 | var id int64 |
| 563 | | - err := f.pool.QueryRow(context.Background(), ` |
| 566 | + err := f.pool.QueryRow( |
| 567 | + context.Background(), ` |
| 564 | 568 | INSERT INTO workflow_steps ( |
| 565 | 569 | job_id, step_index, step_name, run_command, uses_alias, |
| 566 | 570 | status, conclusion, started_at, completed_at |