Skip to content

Commit

Permalink
update golangci-lint
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored and imjasonh committed May 8, 2024
1 parent 8095d48 commit bde269b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
fail_on_error: true
locale: "US"
exclude: ./vendor/*
exclude: |
./vendor/*
./.golangci.yaml
- uses: get-woke/woke-action-reviewdog@d71fd0115146a01c3181439ce714e21a69d75e31 # v0
if: ${{ always() }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@23faadfdeb23a6f9e511beaba149bb123b5b145a # v6.0.0
with:
version: v1.56
args: --timeout=5m
version: v1.57
34 changes: 17 additions & 17 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ issues:

linters:
enable:
- asciicheck
- errorlint
- gofmt
- gosec
- goimports
- importas
- prealloc
- revive
- misspell
- stylecheck
- tparallel
- unconvert
- unparam
- whitespace
- asciicheck
- errorlint
- gofmt
- gosec
- goimports
- importas
- prealloc
- revive
- misspell
- stylecheck
- tparallel
- unconvert
- unparam
- whitespace

disable:
- errcheck
- depguard
- deadcode
- errcheck
- depguard
- deadcode

0 comments on commit bde269b

Please sign in to comment.