build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 ()

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2021-10-23 00:51:11 +02:00 committed by GitHub
parent 6edca924d3
commit 4ce9a19e7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 33 additions and 27 deletions
scripts
expand_website_templates
gen_github_action_config

View file

@ -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 {

View file

@ -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