Skip to content

Commit

Permalink
Upgrade golangci-lint
Browse files Browse the repository at this point in the history
The earlier version fails to run on Darwin with Go 1.23.
  • Loading branch information
hnnsgstfssn committed Sep 5, 2024
1 parent 30978db commit 2bd03ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.57.2
version: v1.60.3

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/githubapi/github_graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func MimizeStalePrComments(ghPrClientDetails GhPrClientDetails, githubGraphQlCli
getCommentNodeIdsParams := map[string]interface{}{
"owner": githubv4.String(ghPrClientDetails.Owner),
"repo": githubv4.String(ghPrClientDetails.Repo),
"prNumber": githubv4.Int(ghPrClientDetails.PrNumber),
"prNumber": githubv4.Int(ghPrClientDetails.PrNumber), //nolint:gosec // G115: type mismatch between shurcooL/githubv4 and google/go-github. Number taken from latter for use in query using former.
}

var minimizeCommentMutation struct {
Expand Down

0 comments on commit 2bd03ff

Please sign in to comment.