From 7f97a23945775f38a10110d94d0e9967970b629c Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 2 Aug 2024 19:49:56 -0400 Subject: [PATCH] chore: use placeholder project name --- go.mod | 2 +- internal/commands/execute_workflow.go | 4 ++-- internal/commands/validate.go | 2 +- internal/runner/runner.go | 2 +- internal/runner/runner_flow_test.go | 2 +- main.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 103dfe1..cfe39ea 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module runner +module courgette go 1.22.2 diff --git a/internal/commands/execute_workflow.go b/internal/commands/execute_workflow.go index 3135b4c..ec64ab3 100644 --- a/internal/commands/execute_workflow.go +++ b/internal/commands/execute_workflow.go @@ -1,11 +1,11 @@ package commands import ( + runner "courgette/internal/runner" + workflow "courgette/internal/workflow" "errors" "fmt" "log" - runner "runner/internal/runner" - workflow "runner/internal/workflow" ) func ExecuteWorkflow(configuration Configuration, workflowFile string) error { diff --git a/internal/commands/validate.go b/internal/commands/validate.go index 39a6409..a91e392 100644 --- a/internal/commands/validate.go +++ b/internal/commands/validate.go @@ -1,9 +1,9 @@ package commands import ( + workflow "courgette/internal/workflow" "errors" "log" - workflow "runner/internal/workflow" ) func ValidateWorkflow(configuration Configuration, workflowPath string) error { diff --git a/internal/runner/runner.go b/internal/runner/runner.go index 95a4a57..ec8fa49 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -1,10 +1,10 @@ package runner import ( + workflow "courgette/internal/workflow" "errors" "fmt" "log" - workflow "runner/internal/workflow" "sync" ) diff --git a/internal/runner/runner_flow_test.go b/internal/runner/runner_flow_test.go index b99d033..05abf44 100644 --- a/internal/runner/runner_flow_test.go +++ b/internal/runner/runner_flow_test.go @@ -1,8 +1,8 @@ package runner import ( + workflow "courgette/internal/workflow" "errors" - workflow "runner/internal/workflow" "testing" ) diff --git a/main.go b/main.go index 25b14a4..1aa7d1a 100644 --- a/main.go +++ b/main.go @@ -2,10 +2,10 @@ package main import ( "context" + commands "courgette/internal/commands" "github.com/spf13/cobra" "log" "os" - commands "runner/internal/commands" ) var cli = &cobra.Command{