fix: correct act package paths — use pkg/ prefix

gitea.com/gitea/act organizes packages under pkg/:
- exprparser → pkg/exprparser
- model → pkg/model
- workflowpattern → pkg/workflowpattern

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-05-16 17:49:47 -05:00
parent 54b28dbde7
commit f707415bfa
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"regexp"
"strings"
"github.com/nektos/act/exprparser"
"github.com/nektos/act/pkg/exprparser"
"go.yaml.in/yaml/v4"
)
+2 -2
View File
@@ -4,8 +4,8 @@
package jobparser
import (
"github.com/nektos/act/exprparser"
"github.com/nektos/act/model"
"github.com/nektos/act/pkg/exprparser"
"github.com/nektos/act/pkg/model"
"go.yaml.in/yaml/v4"
)
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"sort"
"strings"
"github.com/nektos/act/exprparser"
"github.com/nektos/act/model"
"github.com/nektos/act/pkg/exprparser"
"github.com/nektos/act/pkg/model"
"go.yaml.in/yaml/v4"
)
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"errors"
"fmt"
"github.com/nektos/act/model"
"github.com/nektos/act/pkg/model"
"go.yaml.in/yaml/v4"
)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"strings"
"testing"
"github.com/nektos/act/model"
"github.com/nektos/act/pkg/model"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.yaml.in/yaml/v4"
+2 -2
View File
@@ -17,8 +17,8 @@ import (
"code.gitea.io/gitea/modules/util"
webhook_module "code.gitea.io/gitea/modules/webhook"
"github.com/nektos/act/model"
"github.com/nektos/act/workflowpattern"
"github.com/nektos/act/pkg/model"
"github.com/nektos/act/pkg/workflowpattern"
"go.yaml.in/yaml/v4"
)