s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner|

pull/2/head
Earl Warren 2023-02-22 17:19:43 +01:00
parent 75820a6a3e
commit d5798f067a
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
11 changed files with 19 additions and 19 deletions

View File

@ -8,7 +8,7 @@ import (
"code.gitea.io/actions-proto-go/ping/v1/pingv1connect" "code.gitea.io/actions-proto-go/ping/v1/pingv1connect"
"code.gitea.io/actions-proto-go/runner/v1/runnerv1connect" "code.gitea.io/actions-proto-go/runner/v1/runnerv1connect"
"gitea.com/gitea/act_runner/core" "codeberg.org/forgejo/runner/core"
"github.com/bufbuild/connect-go" "github.com/bufbuild/connect-go"
) )

View File

@ -5,11 +5,11 @@ import (
"os" "os"
"strings" "strings"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
"gitea.com/gitea/act_runner/config" "codeberg.org/forgejo/runner/config"
"gitea.com/gitea/act_runner/engine" "codeberg.org/forgejo/runner/engine"
"gitea.com/gitea/act_runner/poller" "codeberg.org/forgejo/runner/poller"
"gitea.com/gitea/act_runner/runtime" "codeberg.org/forgejo/runner/runtime"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"github.com/mattn/go-isatty" "github.com/mattn/go-isatty"

View File

@ -11,9 +11,9 @@ import (
"time" "time"
pingv1 "code.gitea.io/actions-proto-go/ping/v1" pingv1 "code.gitea.io/actions-proto-go/ping/v1"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
"gitea.com/gitea/act_runner/config" "codeberg.org/forgejo/runner/config"
"gitea.com/gitea/act_runner/register" "codeberg.org/forgejo/runner/register"
"github.com/bufbuild/connect-go" "github.com/bufbuild/connect-go"
"github.com/joho/godotenv" "github.com/joho/godotenv"

View File

@ -7,7 +7,7 @@ import (
"runtime" "runtime"
"strconv" "strconv"
"gitea.com/gitea/act_runner/core" "codeberg.org/forgejo/runner/core"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"github.com/kelseyhightower/envconfig" "github.com/kelseyhightower/envconfig"

2
go.mod
View File

@ -1,4 +1,4 @@
module gitea.com/gitea/act_runner module codeberg.org/forgejo/runner
go 1.18 go 1.18

View File

@ -6,7 +6,7 @@ import (
"os/signal" "os/signal"
"syscall" "syscall"
"gitea.com/gitea/act_runner/cmd" "codeberg.org/forgejo/runner/cmd"
) )
func withContextFunc(ctx context.Context, f func()) context.Context { func withContextFunc(ctx context.Context, f func()) context.Context {

View File

@ -7,7 +7,7 @@ import (
"time" "time"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1" runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
"github.com/bufbuild/connect-go" "github.com/bufbuild/connect-go"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"

View File

@ -8,9 +8,9 @@ import (
"strings" "strings"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1" runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
"gitea.com/gitea/act_runner/config" "codeberg.org/forgejo/runner/config"
"gitea.com/gitea/act_runner/core" "codeberg.org/forgejo/runner/core"
"github.com/bufbuild/connect-go" "github.com/bufbuild/connect-go"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"

View File

@ -8,7 +8,7 @@ import (
"time" "time"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1" runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
retry "github.com/avast/retry-go/v4" retry "github.com/avast/retry-go/v4"
"github.com/bufbuild/connect-go" "github.com/bufbuild/connect-go"

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1" runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
) )
// Runner runs the pipeline. // Runner runs the pipeline.

View File

@ -11,7 +11,7 @@ import (
"time" "time"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1" runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"gitea.com/gitea/act_runner/client" "codeberg.org/forgejo/runner/client"
"github.com/nektos/act/pkg/artifacts" "github.com/nektos/act/pkg/artifacts"
"github.com/nektos/act/pkg/common" "github.com/nektos/act/pkg/common"