diff --git a/api/repo/create.go b/api/repo/create.go index bc0c1103d..636b955b3 100644 --- a/api/repo/create.go +++ b/api/repo/create.go @@ -10,13 +10,13 @@ import ( "github.com/gin-gonic/gin" "github.com/go-vela/server/api/types" + "github.com/go-vela/server/api/types/actions" "github.com/go-vela/server/database" "github.com/go-vela/server/router/middleware/user" "github.com/go-vela/server/scm" "github.com/go-vela/server/util" "github.com/go-vela/types/constants" "github.com/go-vela/types/library" - "github.com/go-vela/types/library/actions" "github.com/google/uuid" "github.com/sirupsen/logrus" ) diff --git a/api/types/events.go b/api/types/events.go index 9c4885667..589f4de46 100644 --- a/api/types/events.go +++ b/api/types/events.go @@ -5,8 +5,8 @@ package types import ( "fmt" + "github.com/go-vela/server/api/types/actions" "github.com/go-vela/types/constants" - "github.com/go-vela/types/library/actions" ) // Events is the library representation of the various events that generate a diff --git a/api/types/events_test.go b/api/types/events_test.go index e01d8d1f8..45b003398 100644 --- a/api/types/events_test.go +++ b/api/types/events_test.go @@ -6,8 +6,8 @@ import ( "reflect" "testing" + "github.com/go-vela/server/api/types/actions" "github.com/go-vela/types/constants" - "github.com/go-vela/types/library/actions" "github.com/google/go-cmp/cmp" ) diff --git a/database/repo/repo_test.go b/database/repo/repo_test.go index e617e4feb..92d1228a4 100644 --- a/database/repo/repo_test.go +++ b/database/repo/repo_test.go @@ -9,8 +9,8 @@ import ( "github.com/DATA-DOG/go-sqlmock" api "github.com/go-vela/server/api/types" + "github.com/go-vela/server/api/types/actions" "github.com/go-vela/types/library" - "github.com/go-vela/types/library/actions" "github.com/sirupsen/logrus" "gorm.io/driver/postgres"