chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3

- gopkg.in/yaml.v3 is archived and unmaintained
- go.yaml.in/yaml/v3 is a compatible fork under the umbrella
  of https://yaml.org/
This commit is contained in:
Earl Warren 2025-08-19 18:10:49 +02:00
commit c284f97a00
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
26 changed files with 32 additions and 24 deletions

View file

@ -6,7 +6,7 @@ package markdown
import (
"github.com/yuin/goldmark/ast"
east "github.com/yuin/goldmark/extension/ast"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func nodeToTable(meta *yaml.Node) ast.Node {

View file

@ -9,7 +9,7 @@ import (
"unicode"
"unicode/utf8"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func isYAMLSeparator(line []byte) bool {

View file

@ -10,7 +10,7 @@ import (
"forgejo.org/modules/markup"
"github.com/yuin/goldmark/ast"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
// RenderConfig represents rendering configuration for this file

View file

@ -7,7 +7,7 @@ import (
"strings"
"testing"
"gopkg.in/yaml.v3"
"go.yaml.in/yaml/v3"
)
func TestRenderConfig_UnmarshalYAML(t *testing.T) {