update import path

This commit is contained in:
Christopher Homberger
2026-02-22 20:54:58 +01:00
parent 9fd95d203f
commit 3413919161
75 changed files with 233 additions and 164 deletions

View File

@@ -0,0 +1 @@
0.4.0

View File

@@ -0,0 +1,19 @@
package main
import (
_ "embed"
"gitea.com/gitea/act_runner/cmd"
"gitea.com/gitea/act_runner/pkg/common"
)
//go:embed VERSION
var version string
func main() {
ctx, cancel := common.CreateGracefulJobCancellationContext()
defer cancel()
// run the command
cmd.Execute(ctx, version)
}

View File

@@ -10,7 +10,7 @@ import (
"gitea.com/gitea/act_runner/internal/pkg/config"
"github.com/actions-oss/act-cli/pkg/artifactcache"
"gitea.com/gitea/act_runner/pkg/artifactcache"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)

View File

@@ -15,12 +15,12 @@ import (
"strings"
"gitea.com/gitea/act_runner/internal/app/run"
"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/model"
"github.com/actions-oss/act-cli/pkg/runner"
"github.com/actions-oss/act-cli/pkg/schema"
"gitea.com/gitea/act_runner/pkg/artifactcache"
"gitea.com/gitea/act_runner/pkg/artifacts"
"gitea.com/gitea/act_runner/pkg/common"
"gitea.com/gitea/act_runner/pkg/model"
"gitea.com/gitea/act_runner/pkg/runner"
"gitea.com/gitea/act_runner/pkg/schema"
"github.com/docker/docker/api/types/container"
"github.com/joho/godotenv"
log "github.com/sirupsen/logrus"

View File

@@ -14,10 +14,10 @@ import (
runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"connectrpc.com/connect"
"github.com/actions-oss/act-cli/pkg/artifactcache"
"github.com/actions-oss/act-cli/pkg/model"
"github.com/actions-oss/act-cli/pkg/runner"
"github.com/actions-oss/act-cli/pkg/schema"
"gitea.com/gitea/act_runner/pkg/artifactcache"
"gitea.com/gitea/act_runner/pkg/model"
"gitea.com/gitea/act_runner/pkg/runner"
"gitea.com/gitea/act_runner/pkg/schema"
"github.com/docker/docker/api/types/container"
log "github.com/sirupsen/logrus"

View File

@@ -10,8 +10,8 @@ import (
"strings"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"github.com/actions-oss/act-cli/pkg/model"
"github.com/actions-oss/act-cli/pkg/schema"
"gitea.com/gitea/act_runner/pkg/model"
"gitea.com/gitea/act_runner/pkg/schema"
"gopkg.in/yaml.v3"
)

View File

@@ -7,7 +7,7 @@ import (
"testing"
runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
"github.com/actions-oss/act-cli/pkg/model"
"gitea.com/gitea/act_runner/pkg/model"
"github.com/stretchr/testify/require"
"go.yaml.in/yaml/v4"
"gotest.tools/v3/assert"

View File

@@ -4,7 +4,7 @@ import (
"errors"
"fmt"
exprparser "github.com/actions-oss/act-cli/internal/expr"
exprparser "gitea.com/gitea/act_runner/internal/expr"
)
// EvaluationContext holds variables that can be referenced in expressions.

View File

@@ -5,8 +5,8 @@ import (
"errors"
"strings"
"github.com/actions-oss/act-cli/internal/eval/functions"
exprparser "github.com/actions-oss/act-cli/internal/expr"
"gitea.com/gitea/act_runner/internal/eval/functions"
exprparser "gitea.com/gitea/act_runner/internal/expr"
)
type FromJSON struct {

View File

@@ -3,7 +3,7 @@ package model
import (
"strings"
v2 "github.com/actions-oss/act-cli/internal/eval/v2"
v2 "gitea.com/gitea/act_runner/internal/eval/v2"
"gopkg.in/yaml.v3"
)

View File

@@ -4,9 +4,9 @@ import (
"context"
"testing"
v2 "github.com/actions-oss/act-cli/internal/eval/v2"
"github.com/actions-oss/act-cli/internal/templateeval"
"github.com/actions-oss/act-cli/pkg/schema"
v2 "gitea.com/gitea/act_runner/internal/eval/v2"
"gitea.com/gitea/act_runner/internal/templateeval"
"gitea.com/gitea/act_runner/pkg/schema"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"

View File

@@ -5,9 +5,9 @@ import (
"fmt"
"regexp"
v2 "github.com/actions-oss/act-cli/internal/eval/v2"
exprparser "github.com/actions-oss/act-cli/internal/expr"
"github.com/actions-oss/act-cli/pkg/schema"
v2 "gitea.com/gitea/act_runner/internal/eval/v2"
exprparser "gitea.com/gitea/act_runner/internal/expr"
"gitea.com/gitea/act_runner/pkg/schema"
"gopkg.in/yaml.v3"
)

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
v2 "github.com/actions-oss/act-cli/internal/eval/v2"
"github.com/actions-oss/act-cli/pkg/schema"
v2 "gitea.com/gitea/act_runner/internal/eval/v2"
"gitea.com/gitea/act_runner/pkg/schema"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)