mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-07-25 13:39:12 -04:00
build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (#2041)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
6edca924d3
commit
4ce9a19e7d
12 changed files with 33 additions and 27 deletions
|
@ -136,7 +136,7 @@ func getLatestVersion() (string, error) {
|
|||
req, err := http.NewRequest( // nolint:noctx
|
||||
http.MethodGet,
|
||||
"https://api.github.com/repos/golangci/golangci-lint/releases/latest",
|
||||
nil,
|
||||
http.NoBody,
|
||||
)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failed to prepare a http request: %s", err)
|
||||
|
@ -286,7 +286,7 @@ func check(b bool, title string) string {
|
|||
}
|
||||
|
||||
func span(title, icon string) string {
|
||||
return fmt.Sprintf(`<span title="%s">%s</span>`, title, icon)
|
||||
return fmt.Sprintf(`<span title=%q>%s</span>`, title, icon)
|
||||
}
|
||||
|
||||
func getThanksList() string {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module github.com/golangci/golangci-lint/scripts/gen_github_action_config
|
||||
|
||||
go 1.15
|
||||
go 1.16
|
||||
|
||||
require (
|
||||
github.com/shurcooL/githubv4 v0.0.0-20200627185320-e003124d66e4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue