From ea0f2b902e838adf35b581c0456b9545f29e860c Mon Sep 17 00:00:00 2001 From: Frederic BIDON Date: Tue, 21 Apr 2026 11:06:08 +0200 Subject: [PATCH] chore: fixed undue deprecated yaml dependency Signed-off-by: Frederic BIDON --- go.mod | 1 - go.sum | 2 -- internal/integration/helpers_test.go | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 01ad6e9..215c539 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/go-openapi/testify/v2 v2.4.2 go.yaml.in/yaml/v3 v3.0.4 golang.org/x/tools v0.44.0 - gopkg.in/yaml.v2 v2.4.0 ) require ( diff --git a/go.sum b/go.sum index b3711cf..3ef77ca 100644 --- a/go.sum +++ b/go.sum @@ -40,5 +40,3 @@ golang.org/x/tools v0.44.0 h1:UP4ajHPIcuMjT1GqzDWRlalUEoY+uzoZKnhOjbIPD2c= golang.org/x/tools v0.44.0/go.mod h1:KA0AfVErSdxRZIsOVipbv3rQhVXTnlU6UhKxHd1seDI= 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.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/internal/integration/helpers_test.go b/internal/integration/helpers_test.go index 740a809..ba3243b 100644 --- a/internal/integration/helpers_test.go +++ b/internal/integration/helpers_test.go @@ -7,7 +7,7 @@ import ( "encoding/json" "testing" - "gopkg.in/yaml.v2" + "go.yaml.in/yaml/v3" "github.com/go-openapi/testify/v2/assert"