diff --git a/go.mod b/go.mod index 33ddcd46..f5a12501 100644 --- a/go.mod +++ b/go.mod @@ -18,6 +18,6 @@ require ( golang.org/x/net v0.0.0-20180826012351-8a410e7b638d // indirect golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f golang.org/x/sys v0.0.0-20180831094639-fa5fdf94c789 // indirect - gopkg.in/yaml.v2 v2.2.1 + gopkg.in/yaml.v3 v3.0.0-20190409140830-cdc409dda467 mvdan.cc/sh v2.6.4+incompatible ) diff --git a/go.sum b/go.sum index 18f0ea37..6cc2a86b 100644 --- a/go.sum +++ b/go.sum @@ -41,7 +41,7 @@ golang.org/x/sys v0.0.0-20180831094639-fa5fdf94c789 h1:T8D7l6WB3tLu+VpKvw06ieD/O golang.org/x/sys v0.0.0-20180831094639-fa5fdf94c789/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20190409140830-cdc409dda467 h1:w3VhdSYz2sIVz54Ta/eDCCfCQ4fQkDgRxMACggArIUw= +gopkg.in/yaml.v3 v3.0.0-20190409140830-cdc409dda467/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= mvdan.cc/sh v2.6.4+incompatible h1:eD6tDeh0pw+/TOTI1BBEryZ02rD2nMcFsgcvde7jffM= mvdan.cc/sh v2.6.4+incompatible/go.mod h1:IeeQbZq+x2SUGBensq/jge5lLQbS3XT2ktyp3wrt4x8= diff --git a/internal/taskfile/read/taskfile.go b/internal/taskfile/read/taskfile.go index b3911e4e..001d940c 100644 --- a/internal/taskfile/read/taskfile.go +++ b/internal/taskfile/read/taskfile.go @@ -9,7 +9,7 @@ import ( "github.com/go-task/task/v2/internal/taskfile" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) var ( diff --git a/internal/taskfile/read/taskvars.go b/internal/taskfile/read/taskvars.go index b2022140..f664cf04 100644 --- a/internal/taskfile/read/taskvars.go +++ b/internal/taskfile/read/taskvars.go @@ -8,7 +8,7 @@ import ( "github.com/go-task/task/v2/internal/taskfile" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) // Taskvars reads a Taskvars for a given directory diff --git a/internal/taskfile/taskfile_test.go b/internal/taskfile/taskfile_test.go index 0fed779d..9b229a07 100644 --- a/internal/taskfile/taskfile_test.go +++ b/internal/taskfile/taskfile_test.go @@ -6,7 +6,7 @@ import ( "github.com/go-task/task/v2/internal/taskfile" "github.com/stretchr/testify/assert" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) func TestCmdParse(t *testing.T) {