aboutsummaryrefslogtreecommitdiffstats
path: root/modules/packages/pub
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2022-11-21 16:36:59 +0800
committerGitHub <noreply@github.com>2022-11-21 16:36:59 +0800
commite4eaa68a2b2355c7333406fdcbb8b118677b95df (patch)
treea4027ec3b2efc7bf4d2f22f51676f3dc26e829e3 /modules/packages/pub
parentb4802b9b2eae044e35f022dc7116986e4762a944 (diff)
downloadgitea-e4eaa68a2b2355c7333406fdcbb8b118677b95df.tar.gz
gitea-e4eaa68a2b2355c7333406fdcbb8b118677b95df.zip
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.
Diffstat (limited to 'modules/packages/pub')
-rw-r--r--modules/packages/pub/metadata.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/packages/pub/metadata.go b/modules/packages/pub/metadata.go
index 1fc4908b91..f3e9bf20bc 100644
--- a/modules/packages/pub/metadata.go
+++ b/modules/packages/pub/metadata.go
@@ -15,7 +15,7 @@ import (
"code.gitea.io/gitea/modules/validation"
"github.com/hashicorp/go-version"
- "gopkg.in/yaml.v2"
+ "gopkg.in/yaml.v3"
)
var (