Skip to content

Commit 3ea8df8

Browse files
authored
fix(deps): drop direct dependency on deprecated yaml lib (#360)
1 parent 949dba7 commit 3ea8df8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ module github.com/go-vela/sdk-go
33
go 1.24.4
44

55
require (
6-
github.com/buildkite/yaml v0.0.0-20230306222819-0e4e032d4835
76
github.com/coreos/go-semver v0.3.1
87
github.com/gin-gonic/gin v1.10.1
98
github.com/go-vela/server v0.27.0-rc1
109
github.com/golang-jwt/jwt/v5 v5.2.2
1110
github.com/google/go-cmp v0.7.0
1211
github.com/google/go-querystring v1.1.0
1312
github.com/sirupsen/logrus v1.9.3
13+
go.yaml.in/yaml/v3 v3.0.4
1414
)
1515

1616
require (
1717
github.com/bahlo/generic-list-go v0.2.0 // indirect
1818
github.com/buger/jsonparser v1.1.1 // indirect
19+
github.com/buildkite/yaml v0.0.0-20230306222819-0e4e032d4835 // indirect
1920
github.com/bytedance/sonic v1.13.3 // indirect
2021
github.com/bytedance/sonic/loader v0.2.4 // indirect
2122
github.com/cloudwego/base64x v0.1.5 // indirect
@@ -51,7 +52,6 @@ require (
5152
github.com/ugorji/go/codec v1.3.0 // indirect
5253
github.com/urfave/cli/v3 v3.3.8 // indirect
5354
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
54-
go.yaml.in/yaml/v3 v3.0.4 // indirect
5555
golang.org/x/arch v0.18.0 // indirect
5656
golang.org/x/crypto v0.39.0 // indirect
5757
golang.org/x/net v0.41.0 // indirect

vela/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"strings"
1515
"time"
1616

17-
"github.com/buildkite/yaml"
1817
"github.com/google/go-querystring/query"
1918
"github.com/sirupsen/logrus"
19+
"go.yaml.in/yaml/v3"
2020

2121
"github.com/go-vela/sdk-go/version"
2222
api "github.com/go-vela/server/api/types"

vela/pipeline_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"reflect"
1111
"testing"
1212

13-
yml "github.com/buildkite/yaml"
1413
"github.com/gin-gonic/gin"
14+
yml "go.yaml.in/yaml/v3"
1515

1616
api "github.com/go-vela/server/api/types"
1717
"github.com/go-vela/server/compiler/types/yaml/yaml"

0 commit comments

Comments
 (0)