Skip to content

Commit bb53549

Browse files
committed
dev: improve deprecation comments for GitHub Action format
1 parent 03420b6 commit bb53549

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/config/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const (
1818
OutFormatHTML = "html"
1919
OutFormatJunitXML = "junit-xml"
2020
OutFormatJunitXMLExtended = "junit-xml-extended"
21-
OutFormatGithubActions = "github-actions" // Deprecated
21+
OutFormatGithubActions = "github-actions" // Deprecated: use OutFormatColoredLineNumber instead.
2222
OutFormatTeamCity = "teamcity"
2323
OutFormatSarif = "sarif"
2424
)

pkg/printers/githubaction.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ type GitHubAction struct {
1515
}
1616

1717
// NewGitHubAction output format outputs issues according to GitHub Action.
18-
// Deprecated
18+
//
19+
// Deprecated: use NewText instead.
1920
func NewGitHubAction(w io.Writer) *GitHubAction {
2021
return &GitHubAction{w: w}
2122
}

0 commit comments

Comments
 (0)