Skip to content

Commit

Permalink
GitHub: bump golangci-lint
Browse files Browse the repository at this point in the history
This might solve problems with Go 1.18. The newer golangci-lint runs more
slowly, therefore the timeout gets increased from the default 1m to 5m.
pohly committed Apr 4, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6e1c77e commit ceab9da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -21,13 +21,13 @@ jobs:
uses: golangci/golangci-lint-action@v2
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.43
version: v1.45.2

# Optional: working directory, useful for monorepos
# working-directory: somedir

# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
args: --timeout=5m

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true

0 comments on commit ceab9da

Please sign in to comment.