diff --git a/cmd/graph.go b/cmd/graph.go index b38487be..c76ee1d6 100644 --- a/cmd/graph.go +++ b/cmd/graph.go @@ -3,8 +3,8 @@ package cmd import ( "os" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) func drawGraph(plan *model.Plan) error { diff --git a/cmd/list.go b/cmd/list.go index 15799aab..b1f67bd1 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" ) func printList(plan *model.Plan) error { diff --git a/cmd/root.go b/cmd/root.go index 9b74b081..33e31b57 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -23,12 +23,12 @@ import ( "github.com/spf13/cobra/doc" "gopkg.in/yaml.v3" - "github.com/nektos/act/pkg/artifactcache" - "github.com/nektos/act/pkg/artifacts" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/model" - "github.com/nektos/act/pkg/runner" + "github.com/actions-oss/act-cli/pkg/artifactcache" + "github.com/actions-oss/act-cli/pkg/artifacts" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/model" + "github.com/actions-oss/act-cli/pkg/runner" ) // Execute is the entry point to running the CLI @@ -663,7 +663,7 @@ func defaultImageSurvey(actrc string) error { var answer string confirmation := &survey.Select{ Message: "Please choose the default image you want to use with act:\n - Large size image: ca. 17GB download + 53.1GB storage, you will need 75GB of free disk space, snapshots of GitHub Hosted Runners without snap and pulled docker images\n - Medium size image: ~500MB, includes only necessary tools to bootstrap actions and aims to be compatible with most actions\n - Micro size image: <200MB, contains only NodeJS required to bootstrap actions, doesn't work with all actions\n\nDefault image and other options can be changed manually in " + configLocations()[0] + " (please refer to https://github.com/nektos/act#configuration for additional information about file structure)", - Help: "If you want to know why act asks you that, please go to https://github.com/nektos/act/issues/107", + Help: "If you want to know why act asks you that, please go to https://github.com/actions-oss/act-cli/issues/107", Default: "Medium", Options: []string{"Large", "Medium", "Micro"}, } diff --git a/go.mod b/go.mod index adeb822f..bac700ee 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/nektos/act +module github.com/actions-oss/act-cli go 1.23 diff --git a/main.go b/main.go index 37b0fece..23682118 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( "os/signal" "syscall" - "github.com/nektos/act/cmd" + "github.com/actions-oss/act-cli/cmd" ) //go:embed VERSION diff --git a/pkg/artifactcache/handler.go b/pkg/artifactcache/handler.go index cd0daaa0..85a52774 100644 --- a/pkg/artifactcache/handler.go +++ b/pkg/artifactcache/handler.go @@ -20,7 +20,7 @@ import ( "github.com/timshannon/bolthold" "go.etcd.io/bbolt" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) const ( diff --git a/pkg/artifacts/server.go b/pkg/artifacts/server.go index c3207f10..c98d8112 100644 --- a/pkg/artifacts/server.go +++ b/pkg/artifacts/server.go @@ -15,7 +15,7 @@ import ( "github.com/julienschmidt/httprouter" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) type FileContainerResourceURL struct { diff --git a/pkg/artifacts/server_test.go b/pkg/artifacts/server_test.go index 0e9dca15..7067c783 100644 --- a/pkg/artifacts/server_test.go +++ b/pkg/artifacts/server_test.go @@ -17,8 +17,8 @@ import ( log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" - "github.com/nektos/act/pkg/model" - "github.com/nektos/act/pkg/runner" + "github.com/actions-oss/act-cli/pkg/model" + "github.com/actions-oss/act-cli/pkg/runner" ) type writableMapFile struct { diff --git a/pkg/common/git/git.go b/pkg/common/git/git.go index 3c5af7b3..d1a5a0ef 100644 --- a/pkg/common/git/git.go +++ b/pkg/common/git/git.go @@ -19,7 +19,7 @@ import ( "github.com/mattn/go-isatty" log "github.com/sirupsen/logrus" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) var ( diff --git a/pkg/common/git/git_test.go b/pkg/common/git/git_test.go index 37e04d4a..9c7037fe 100644 --- a/pkg/common/git/git_test.go +++ b/pkg/common/git/git_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) func TestFindGitSlug(t *testing.T) { @@ -26,12 +26,12 @@ func TestFindGitSlug(t *testing.T) { }{ {"https://git-codecommit.us-east-1.amazonaws.com/v1/repos/my-repo-name", "CodeCommit", "my-repo-name"}, {"ssh://git-codecommit.us-west-2.amazonaws.com/v1/repos/my-repo", "CodeCommit", "my-repo"}, - {"git@github.com:nektos/act.git", "GitHub", "nektos/act"}, - {"git@github.com:nektos/act", "GitHub", "nektos/act"}, - {"https://github.com/nektos/act.git", "GitHub", "nektos/act"}, - {"http://github.com/nektos/act.git", "GitHub", "nektos/act"}, - {"https://github.com/nektos/act", "GitHub", "nektos/act"}, - {"http://github.com/nektos/act", "GitHub", "nektos/act"}, + {"git@github.com:actions-oss/act-cli.git", "GitHub", "actions-oss/act-cli"}, + {"git@github.com:actions-oss/act-cli", "GitHub", "actions-oss/act-cli"}, + {"https://github.com/actions-oss/act-cli.git", "GitHub", "actions-oss/act-cli"}, + {"http://github.com/actions-oss/act-cli.git", "GitHub", "actions-oss/act-cli"}, + {"https://github.com/actions-oss/act-cli", "GitHub", "actions-oss/act-cli"}, + {"http://github.com/actions-oss/act-cli", "GitHub", "actions-oss/act-cli"}, {"git+ssh://git@github.com/owner/repo.git", "GitHub", "owner/repo"}, {"http://myotherrepo.com/act.git", "", "http://myotherrepo.com/act.git"}, } diff --git a/pkg/container/container_types.go b/pkg/container/container_types.go index 627e5d8e..ed5fac31 100644 --- a/pkg/container/container_types.go +++ b/pkg/container/container_types.go @@ -4,8 +4,8 @@ import ( "context" "io" + "github.com/actions-oss/act-cli/pkg/common" "github.com/docker/go-connections/nat" - "github.com/nektos/act/pkg/common" ) // NewContainerInput the input for the New function diff --git a/pkg/container/docker_auth.go b/pkg/container/docker_auth.go index e8dfb7d5..256332b6 100644 --- a/pkg/container/docker_auth.go +++ b/pkg/container/docker_auth.go @@ -6,10 +6,10 @@ import ( "context" "strings" + "github.com/actions-oss/act-cli/pkg/common" "github.com/docker/cli/cli/config" "github.com/docker/cli/cli/config/credentials" "github.com/docker/docker/api/types/registry" - "github.com/nektos/act/pkg/common" ) func LoadDockerAuthConfig(ctx context.Context, image string) (registry.AuthConfig, error) { diff --git a/pkg/container/docker_build.go b/pkg/container/docker_build.go index 825a0950..1761b2f4 100644 --- a/pkg/container/docker_build.go +++ b/pkg/container/docker_build.go @@ -16,7 +16,7 @@ import ( "github.com/moby/patternmatcher" "github.com/moby/patternmatcher/ignorefile" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) // NewDockerBuildExecutor function to create a run executor for the container diff --git a/pkg/container/docker_network.go b/pkg/container/docker_network.go index 2ae0f610..c0f66109 100644 --- a/pkg/container/docker_network.go +++ b/pkg/container/docker_network.go @@ -5,8 +5,8 @@ package container import ( "context" + "github.com/actions-oss/act-cli/pkg/common" "github.com/docker/docker/api/types/network" - "github.com/nektos/act/pkg/common" ) func NewDockerNetworkCreateExecutor(name string) common.Executor { diff --git a/pkg/container/docker_pull.go b/pkg/container/docker_pull.go index 65b930ee..03e9a1c1 100644 --- a/pkg/container/docker_pull.go +++ b/pkg/container/docker_pull.go @@ -13,7 +13,7 @@ import ( "github.com/docker/docker/api/types/image" "github.com/docker/docker/api/types/registry" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) // NewDockerPullExecutor function to create a run executor for the container diff --git a/pkg/container/docker_run.go b/pkg/container/docker_run.go index 0ce1cb9b..a446dc37 100644 --- a/pkg/container/docker_run.go +++ b/pkg/container/docker_run.go @@ -35,8 +35,8 @@ import ( "github.com/spf13/pflag" "golang.org/x/term" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/filecollector" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/filecollector" ) // NewContainer creates a reference to a container @@ -605,7 +605,7 @@ func (cr *containerReference) exec(cmd []string, env map[string]string, user, wo case 0: return nil case 127: - return fmt.Errorf("exitcode '%d': command not found, please refer to https://github.com/nektos/act/issues/107 for more information", inspectResp.ExitCode) + return fmt.Errorf("exitcode '%d': command not found, please refer to https://github.com/actions-oss/act-cli/issues/107 for more information", inspectResp.ExitCode) default: return fmt.Errorf("exitcode '%d': failure", inspectResp.ExitCode) } diff --git a/pkg/container/docker_stub.go b/pkg/container/docker_stub.go index 3092c5cb..929448ce 100644 --- a/pkg/container/docker_stub.go +++ b/pkg/container/docker_stub.go @@ -7,7 +7,7 @@ import ( "runtime" "github.com/docker/docker/api/types/system" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" "github.com/pkg/errors" ) diff --git a/pkg/container/docker_volume.go b/pkg/container/docker_volume.go index f99c5845..7f540554 100644 --- a/pkg/container/docker_volume.go +++ b/pkg/container/docker_volume.go @@ -5,9 +5,9 @@ package container import ( "context" + "github.com/actions-oss/act-cli/pkg/common" "github.com/docker/docker/api/types/filters" "github.com/docker/docker/api/types/volume" - "github.com/nektos/act/pkg/common" ) func NewDockerVolumeRemoveExecutor(volumeName string, force bool) common.Executor { diff --git a/pkg/container/host_environment.go b/pkg/container/host_environment.go index cccb1cc1..239c20bb 100644 --- a/pkg/container/host_environment.go +++ b/pkg/container/host_environment.go @@ -20,9 +20,9 @@ import ( "github.com/go-git/go-git/v5/plumbing/format/gitignore" "golang.org/x/term" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/filecollector" - "github.com/nektos/act/pkg/lookpath" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/filecollector" + "github.com/actions-oss/act-cli/pkg/lookpath" ) type HostEnvironment struct { diff --git a/pkg/container/parse_env_file.go b/pkg/container/parse_env_file.go index ee79b7e7..bd22bd9a 100644 --- a/pkg/container/parse_env_file.go +++ b/pkg/container/parse_env_file.go @@ -8,7 +8,7 @@ import ( "io" "strings" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) func parseEnvFile(e Container, srcPath string, env *map[string]string) common.Executor { diff --git a/pkg/exprparser/functions.go b/pkg/exprparser/functions.go index 83b2a080..018fc09b 100644 --- a/pkg/exprparser/functions.go +++ b/pkg/exprparser/functions.go @@ -15,7 +15,7 @@ import ( "github.com/go-git/go-git/v5/plumbing/format/gitignore" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" "github.com/rhysd/actionlint" ) diff --git a/pkg/exprparser/functions_test.go b/pkg/exprparser/functions_test.go index ea51a2bc..69f868b6 100644 --- a/pkg/exprparser/functions_test.go +++ b/pkg/exprparser/functions_test.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" ) diff --git a/pkg/exprparser/interpreter.go b/pkg/exprparser/interpreter.go index 7630854f..bc0a8468 100644 --- a/pkg/exprparser/interpreter.go +++ b/pkg/exprparser/interpreter.go @@ -7,7 +7,7 @@ import ( "reflect" "strings" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" "github.com/rhysd/actionlint" ) diff --git a/pkg/exprparser/interpreter_test.go b/pkg/exprparser/interpreter_test.go index f45851d1..37419bc5 100644 --- a/pkg/exprparser/interpreter_test.go +++ b/pkg/exprparser/interpreter_test.go @@ -4,7 +4,7 @@ import ( "math" "testing" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" ) diff --git a/pkg/model/action.go b/pkg/model/action.go index 61b78a14..ee937430 100644 --- a/pkg/model/action.go +++ b/pkg/model/action.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "github.com/nektos/act/pkg/schema" + "github.com/actions-oss/act-cli/pkg/schema" "gopkg.in/yaml.v3" ) diff --git a/pkg/model/github_context.go b/pkg/model/github_context.go index 4190d67b..b64dbaad 100644 --- a/pkg/model/github_context.go +++ b/pkg/model/github_context.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/common/git" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/common/git" ) type GithubContext struct { diff --git a/pkg/model/workflow.go b/pkg/model/workflow.go index d67ce414..d8e08a29 100644 --- a/pkg/model/workflow.go +++ b/pkg/model/workflow.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/schema" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/schema" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" ) diff --git a/pkg/runner/action.go b/pkg/runner/action.go index 9a97519f..fa2707e4 100644 --- a/pkg/runner/action.go +++ b/pkg/runner/action.go @@ -16,9 +16,9 @@ import ( "github.com/kballard/go-shellquote" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/model" ) type actionStep interface { diff --git a/pkg/runner/action_cache.go b/pkg/runner/action_cache.go index 471ed9ed..46ce2812 100644 --- a/pkg/runner/action_cache.go +++ b/pkg/runner/action_cache.go @@ -13,13 +13,13 @@ import ( "strings" "time" + "github.com/actions-oss/act-cli/pkg/common" git "github.com/go-git/go-git/v5" config "github.com/go-git/go-git/v5/config" "github.com/go-git/go-git/v5/plumbing" "github.com/go-git/go-git/v5/plumbing/object" "github.com/go-git/go-git/v5/plumbing/transport" "github.com/go-git/go-git/v5/plumbing/transport/http" - "github.com/nektos/act/pkg/common" ) type ActionCache interface { diff --git a/pkg/runner/action_cache_offline_mode.go b/pkg/runner/action_cache_offline_mode.go index a6926af0..48bb721e 100644 --- a/pkg/runner/action_cache_offline_mode.go +++ b/pkg/runner/action_cache_offline_mode.go @@ -5,9 +5,9 @@ import ( "io" "path" + "github.com/actions-oss/act-cli/pkg/common" git "github.com/go-git/go-git/v5" "github.com/go-git/go-git/v5/plumbing" - "github.com/nektos/act/pkg/common" ) type GoGitActionCacheOfflineMode struct { diff --git a/pkg/runner/action_composite.go b/pkg/runner/action_composite.go index fee7e329..bdd87cce 100644 --- a/pkg/runner/action_composite.go +++ b/pkg/runner/action_composite.go @@ -6,8 +6,8 @@ import ( "regexp" "strings" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) func evaluateCompositeInputAndEnv(ctx context.Context, parent *RunContext, step actionStep) map[string]string { diff --git a/pkg/runner/action_test.go b/pkg/runner/action_test.go index 3286facf..59f4c3e0 100644 --- a/pkg/runner/action_test.go +++ b/pkg/runner/action_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" ) diff --git a/pkg/runner/command.go b/pkg/runner/command.go index d79ac03a..d44f36d6 100644 --- a/pkg/runner/command.go +++ b/pkg/runner/command.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" ) var commandPatternGA *regexp.Regexp diff --git a/pkg/runner/command_test.go b/pkg/runner/command_test.go index 57c7de5f..3d0f3fda 100644 --- a/pkg/runner/command_test.go +++ b/pkg/runner/command_test.go @@ -10,8 +10,8 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) func TestSetEnv(t *testing.T) { diff --git a/pkg/runner/container_mock_test.go b/pkg/runner/container_mock_test.go index 86343d5a..7aedae1f 100644 --- a/pkg/runner/container_mock_test.go +++ b/pkg/runner/container_mock_test.go @@ -4,8 +4,8 @@ import ( "context" "io" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" "github.com/stretchr/testify/mock" ) diff --git a/pkg/runner/expression.go b/pkg/runner/expression.go index b83d2f2d..24f81ad9 100644 --- a/pkg/runner/expression.go +++ b/pkg/runner/expression.go @@ -12,10 +12,10 @@ import ( _ "embed" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/exprparser" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/exprparser" + "github.com/actions-oss/act-cli/pkg/model" "gopkg.in/yaml.v3" ) diff --git a/pkg/runner/expression_test.go b/pkg/runner/expression_test.go index 383539df..c0776e1d 100644 --- a/pkg/runner/expression_test.go +++ b/pkg/runner/expression_test.go @@ -8,8 +8,8 @@ import ( "sort" "testing" - "github.com/nektos/act/pkg/exprparser" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/exprparser" + "github.com/actions-oss/act-cli/pkg/model" assert "github.com/stretchr/testify/assert" yaml "gopkg.in/yaml.v3" ) diff --git a/pkg/runner/job_executor.go b/pkg/runner/job_executor.go index 30cd75c7..8997697a 100644 --- a/pkg/runner/job_executor.go +++ b/pkg/runner/job_executor.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) type jobInfo interface { diff --git a/pkg/runner/job_executor_test.go b/pkg/runner/job_executor_test.go index 6893d9dc..27adcc67 100644 --- a/pkg/runner/job_executor_test.go +++ b/pkg/runner/job_executor_test.go @@ -6,9 +6,9 @@ import ( "io" "testing" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" ) diff --git a/pkg/runner/local_repository_cache.go b/pkg/runner/local_repository_cache.go index 1065b652..7f7f44e1 100644 --- a/pkg/runner/local_repository_cache.go +++ b/pkg/runner/local_repository_cache.go @@ -12,8 +12,8 @@ import ( "path/filepath" "strings" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/filecollector" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/filecollector" ) type LocalRepositoryCache struct { diff --git a/pkg/runner/logger.go b/pkg/runner/logger.go index a788f680..fac030bf 100644 --- a/pkg/runner/logger.go +++ b/pkg/runner/logger.go @@ -9,7 +9,7 @@ import ( "strings" "sync" - "github.com/nektos/act/pkg/common" + "github.com/actions-oss/act-cli/pkg/common" "github.com/sirupsen/logrus" "golang.org/x/term" diff --git a/pkg/runner/reusable_workflow.go b/pkg/runner/reusable_workflow.go index d8b183c4..0958b352 100644 --- a/pkg/runner/reusable_workflow.go +++ b/pkg/runner/reusable_workflow.go @@ -7,8 +7,8 @@ import ( "path" "regexp" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) func newLocalReusableWorkflowExecutor(rc *RunContext) common.Executor { diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go index a124da0d..26c2abc6 100644 --- a/pkg/runner/run_context.go +++ b/pkg/runner/run_context.go @@ -20,11 +20,11 @@ import ( "strings" "time" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/exprparser" + "github.com/actions-oss/act-cli/pkg/model" "github.com/docker/go-connections/nat" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/exprparser" - "github.com/nektos/act/pkg/model" "github.com/opencontainers/selinux/go-selinux" ) diff --git a/pkg/runner/run_context_test.go b/pkg/runner/run_context_test.go index de725b03..f5609ff1 100644 --- a/pkg/runner/run_context_test.go +++ b/pkg/runner/run_context_test.go @@ -10,9 +10,9 @@ import ( "strings" "testing" + "github.com/actions-oss/act-cli/pkg/exprparser" + "github.com/actions-oss/act-cli/pkg/model" "github.com/golang-jwt/jwt/v5" - "github.com/nektos/act/pkg/exprparser" - "github.com/nektos/act/pkg/model" log "github.com/sirupsen/logrus" assert "github.com/stretchr/testify/assert" diff --git a/pkg/runner/runner.go b/pkg/runner/runner.go index 59b92a51..2cfeee8b 100644 --- a/pkg/runner/runner.go +++ b/pkg/runner/runner.go @@ -7,9 +7,9 @@ import ( "os" "runtime" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" docker_container "github.com/docker/docker/api/types/container" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" log "github.com/sirupsen/logrus" ) diff --git a/pkg/runner/runner_test.go b/pkg/runner/runner_test.go index 89368129..057bd809 100644 --- a/pkg/runner/runner_test.go +++ b/pkg/runner/runner_test.go @@ -17,8 +17,8 @@ import ( assert "github.com/stretchr/testify/assert" "gopkg.in/yaml.v3" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) var ( diff --git a/pkg/runner/step.go b/pkg/runner/step.go index 7b761bac..5ae44460 100644 --- a/pkg/runner/step.go +++ b/pkg/runner/step.go @@ -8,10 +8,10 @@ import ( "strings" "time" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/exprparser" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/exprparser" + "github.com/actions-oss/act-cli/pkg/model" ) type step interface { diff --git a/pkg/runner/step_action_local.go b/pkg/runner/step_action_local.go index 4bb85bf7..e8bf18fe 100644 --- a/pkg/runner/step_action_local.go +++ b/pkg/runner/step_action_local.go @@ -11,8 +11,8 @@ import ( "path" "path/filepath" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) type stepActionLocal struct { diff --git a/pkg/runner/step_action_local_test.go b/pkg/runner/step_action_local_test.go index c7b26252..c29ec66d 100644 --- a/pkg/runner/step_action_local_test.go +++ b/pkg/runner/step_action_local_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "gopkg.in/yaml.v3" diff --git a/pkg/runner/step_action_remote.go b/pkg/runner/step_action_remote.go index 8b0ed0ac..c2c9dfe9 100644 --- a/pkg/runner/step_action_remote.go +++ b/pkg/runner/step_action_remote.go @@ -11,8 +11,8 @@ import ( "regexp" "strings" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) type stepActionRemote struct { diff --git a/pkg/runner/step_action_remote_test.go b/pkg/runner/step_action_remote_test.go index 848f254b..c81f8bc5 100644 --- a/pkg/runner/step_action_remote_test.go +++ b/pkg/runner/step_action_remote_test.go @@ -12,8 +12,8 @@ import ( "github.com/stretchr/testify/mock" "gopkg.in/yaml.v3" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" ) type stepActionRemoteMocks struct { diff --git a/pkg/runner/step_docker.go b/pkg/runner/step_docker.go index cc28a3b5..0c927e53 100644 --- a/pkg/runner/step_docker.go +++ b/pkg/runner/step_docker.go @@ -5,10 +5,10 @@ import ( "fmt" "strings" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/model" "github.com/kballard/go-shellquote" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/model" ) type stepDocker struct { diff --git a/pkg/runner/step_docker_test.go b/pkg/runner/step_docker_test.go index 8753af52..6246f7f7 100644 --- a/pkg/runner/step_docker_test.go +++ b/pkg/runner/step_docker_test.go @@ -6,8 +6,8 @@ import ( "io" "testing" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" ) diff --git a/pkg/runner/step_factory.go b/pkg/runner/step_factory.go index 4ac7eafb..110c06c2 100644 --- a/pkg/runner/step_factory.go +++ b/pkg/runner/step_factory.go @@ -3,7 +3,7 @@ package runner import ( "fmt" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" ) type stepFactory interface { diff --git a/pkg/runner/step_factory_test.go b/pkg/runner/step_factory_test.go index c981ef55..7e16ed97 100644 --- a/pkg/runner/step_factory_test.go +++ b/pkg/runner/step_factory_test.go @@ -3,7 +3,7 @@ package runner import ( "testing" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/model" "github.com/stretchr/testify/assert" ) diff --git a/pkg/runner/step_run.go b/pkg/runner/step_run.go index aa5b2a68..bce9ad94 100644 --- a/pkg/runner/step_run.go +++ b/pkg/runner/step_run.go @@ -8,10 +8,10 @@ import ( "github.com/kballard/go-shellquote" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/lookpath" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/lookpath" + "github.com/actions-oss/act-cli/pkg/model" ) type stepRun struct { diff --git a/pkg/runner/step_run_test.go b/pkg/runner/step_run_test.go index 151c7ab9..157adeed 100644 --- a/pkg/runner/step_run_test.go +++ b/pkg/runner/step_run_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "github.com/nektos/act/pkg/container" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/container" + "github.com/actions-oss/act-cli/pkg/model" ) func TestStepRun(t *testing.T) { diff --git a/pkg/runner/step_test.go b/pkg/runner/step_test.go index b36ad9e8..2b97a89c 100644 --- a/pkg/runner/step_test.go +++ b/pkg/runner/step_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/nektos/act/pkg/common" - "github.com/nektos/act/pkg/model" + "github.com/actions-oss/act-cli/pkg/common" + "github.com/actions-oss/act-cli/pkg/model" log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock"