Skip to content

Commit

Permalink
Pass correct arguments to the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dmigwi committed Jun 20, 2024
1 parent ae7dc07 commit bb0166c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
with:
version: v1.59.1
skip-pkg-cache: true
args: --out-format=colored-line-number

- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ linters-settings:
errcheck:
exclude-functions:
- (net/http.ResponseWriter).Write
- (github.com/jrick/logrotate/rotator.Rotator).Write
- (github.com/crypto-power/cryptopower/logger).SetLogLevels
- (*github.com/jrick/logrotate/rotator.Rotator).Write
- (*github.com/crypto-power/cryptopower/logger.logger).SetLogLevels

0 comments on commit bb0166c

Please sign in to comment.