update go imports (#20)

* Replace nektos/act imports with actions-oss/act-cli

* Update go.mod to reference new repo

* Fix goimports "not properly formatted" complaints.

Replacing the imports left some out of alphabetical order.
This commit is contained in:
Steven Edwards
2025-01-27 12:11:12 -05:00
committed by GitHub
parent 1d135cf8d1
commit 70c9e21c85
58 changed files with 113 additions and 113 deletions

View File

@@ -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)
}