Skip to content

Commit

Permalink
fix(deps): update module gopkg.in/yaml.v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lunar-renovate committed Jun 11, 2024
1 parent 41bb82d commit 0c17b5b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/lunarway/shuttle/pkg/errors"
"github.com/lunarway/shuttle/pkg/templates"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand All @@ -26,7 +26,7 @@ require (
github.com/otiai10/copy v1.14.0
golang.org/x/mod v0.18.0
golang.org/x/sync v0.7.0
gopkg.in/yaml.v2 v2.4.0

)

require (
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/shuttleconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

shuttleerrors "github.com/lunarway/shuttle/pkg/errors"
"github.com/lunarway/shuttle/pkg/ui"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

// DynamicYaml are any yaml document
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/shuttleplan.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/lunarway/shuttle/pkg/errors"
"github.com/lunarway/shuttle/pkg/git"
"github.com/lunarway/shuttle/pkg/ui"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

// ShuttlePlanScript is a ShuttlePlan sub-element
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path"

"github.com/lunarway/shuttle/pkg/config"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

type ShuttleContext struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/templates/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"text/template"

sprig "github.com/Masterminds/sprig/v3"
yaml "gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v3"
)

type KeyValuePair struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/templates/funcs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)

var (
Expand Down

0 comments on commit 0c17b5b

Please sign in to comment.