Skip to content

Commit 9f88c86

Browse files
committed
fix test failure due to goldmark v1.7.7 and staticlint warning
1 parent c321d07 commit 9f88c86

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/mattn/go-colorable v0.1.13
99
github.com/mattn/go-runewidth v0.0.16
1010
github.com/robfig/cron/v3 v3.0.1
11-
github.com/yuin/goldmark v1.7.7
11+
github.com/yuin/goldmark v1.7.4
1212
golang.org/x/sync v0.8.0
1313
golang.org/x/sys v0.26.0
1414
gopkg.in/yaml.v3 v3.0.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
1414
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
1515
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
1616
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
17-
github.com/yuin/goldmark v1.7.7 h1:5m9rrB1sW3JUMToKFQfb+FGt1U7r57IHu5GrYrG2nqU=
18-
github.com/yuin/goldmark v1.7.7/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
17+
github.com/yuin/goldmark v1.7.4 h1:BDXOHExt+A7gwPCJgPIIq7ENvceR7we7rOS9TNoLZeg=
18+
github.com/yuin/goldmark v1.7.4/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E=
1919
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
2020
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
2121
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

rule_runner_label.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package actionlint
22

33
import (
44
"path"
5-
"sort"
65
"strings"
76
)
87

@@ -29,15 +28,6 @@ const (
2928
compatWindows2022
3029
)
3130

32-
func buildAllGitHubHostedRunnerLabels() []string {
33-
l := make([]string, 0, len(defaultRunnerOSCompats))
34-
for k := range defaultRunnerOSCompats {
35-
l = append(l, k)
36-
}
37-
sort.Strings(l)
38-
return l
39-
}
40-
4131
// https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
4232
var allGitHubHostedRunnerLabels = []string{
4333
"windows-latest",

0 commit comments

Comments
 (0)