diff --git a/go.mod b/go.mod index 806db0e..ab54eee 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/sebdah/goldie/v2 v2.5.5 github.com/stretchr/testify v1.9.0 golang.org/x/tools v0.21.0 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -19,5 +19,5 @@ require ( golang.org/x/mod v0.17.0 // indirect golang.org/x/sync v0.7.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect ) diff --git a/internal/gen_test.go b/internal/gen_test.go index b5c6d57..20f5bbf 100644 --- a/internal/gen_test.go +++ b/internal/gen_test.go @@ -17,7 +17,7 @@ import ( "github.com/luno/jettison/log" "github.com/sebdah/goldie/v2" "github.com/stretchr/testify/require" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) //go:generate go test -update