diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b390346..31caa4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', '1.23', '1.24' ] + go: [ '1.17', '1.18', '1.19', '1.20', '1.21', '1.22', '1.23', '1.24', '1.25', '1.26' ] env: GOFLAGS: -mod=readonly GOPROXY: https://proxy.golang.org diff --git a/go.mod b/go.mod index a58d21a..1f9ad7d 100644 --- a/go.mod +++ b/go.mod @@ -3,10 +3,10 @@ module github.com/go-bdd/gobdd go 1.17 require ( - github.com/cucumber/gherkin/go/v33 v33.0.0 - github.com/cucumber/messages/go/v28 v28.0.0 + github.com/cucumber/gherkin/go/v38 v38.0.0 + github.com/cucumber/messages/go/v32 v32.0.1 github.com/go-bdd/assert v0.0.0-20200713105154-236f01430281 - github.com/stretchr/testify v1.10.0 + github.com/stretchr/testify v1.11.1 ) require ( diff --git a/go.sum b/go.sum index 7a2afaa..16b92f7 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,9 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cucumber/gherkin/go/v33 v33.0.0 h1:PqQ81cHjD732/GZ7c/6k/sjlYG4LzLp51nggL6172Sg= -github.com/cucumber/gherkin/go/v33 v33.0.0/go.mod h1:mnP4fdkoc+LmjSLi9Kq3M5D84GphRWLdgeKAlvUYp2c= -github.com/cucumber/messages/go/v28 v28.0.0 h1:BOJmy8LKSbdKxM6Ba1v9ZmpZk7j5cyH+LTAaGxMeflc= -github.com/cucumber/messages/go/v28 v28.0.0/go.mod h1:2njGQBk+mu0aqzQgN8xcXvnrfWNcP7UjEyi1YauQ5Lc= +github.com/cucumber/gherkin/go/v38 v38.0.0 h1:XEjtPu7YyFmHQG03ns7FgG9GUBgOSKXvTF8nhUlUi08= +github.com/cucumber/gherkin/go/v38 v38.0.0/go.mod h1:oqeor49zeLHFBuMran8pCpq2hEys5cunw8sqtZdWXNg= +github.com/cucumber/messages/go/v32 v32.0.0/go.mod h1:WxmdIwGfNiDJoFXR4FCozmLysaH3k96KkxZeM/yMFVs= +github.com/cucumber/messages/go/v32 v32.0.1 h1:GsQ+AD9xc8dMEC50BZCdbFw0rW1tEdKeLwA1RixI5mw= +github.com/cucumber/messages/go/v32 v32.0.1/go.mod h1:WxmdIwGfNiDJoFXR4FCozmLysaH3k96KkxZeM/yMFVs= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -25,8 +26,8 @@ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= -github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/gobdd.go b/gobdd.go index 702c2ef..f8d8243 100644 --- a/gobdd.go +++ b/gobdd.go @@ -13,8 +13,8 @@ import ( "strings" "testing" - gherkin "github.com/cucumber/gherkin/go/v33" - msgs "github.com/cucumber/messages/go/v28" + gherkin "github.com/cucumber/gherkin/go/v38" + msgs "github.com/cucumber/messages/go/v32" ) const contextArgumentsNumber = 2 diff --git a/gobdd_test.go b/gobdd_test.go index 239533f..9b3aab7 100644 --- a/gobdd_test.go +++ b/gobdd_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - msgs "github.com/cucumber/messages/go/v28" + msgs "github.com/cucumber/messages/go/v32" "github.com/go-bdd/assert" "github.com/stretchr/testify/require" )