Replace yaml.v2 with yaml.v3 (#21832)

I don't see why we have to use two versions of yaml. The difference
between the two versions has nothing to do with our usage.
This commit is contained in:
Jason Song authored and GitHub committed 2022-11-21 16:36:59 +08:00
1 parent b4802b9b2e
commit e4eaa68a2b
10 files changed
+15 -16

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ import (
"code.gitea.io/gitea/modules/structs"
"github.com/google/uuid"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)
var _ base.Uploader = &RepositoryDumper{}