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 Oct 22, 2023
1 parent 5fdda08 commit 13aec72
Show file tree
Hide file tree
Showing 7 changed files with 7 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
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v3 v3.0.1
)

require (
Expand All @@ -24,7 +24,6 @@ require (
github.com/otiai10/copy v1.12.0
golang.org/x/mod v0.12.0
golang.org/x/sync v0.3.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 13aec72

Please sign in to comment.