Skip to content

Commit

Permalink
chore: Bump golangci-lint to version 1.48.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Aug 5, 2022
1 parent ec58b0a commit 8492677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
AGE_VERSION: 1.0.0
GO_VERSION: 1.19
GOFUMPT_VERSION: 0.3.1
GOLANGCI_LINT_VERSION: 1.47.3
GOLANGCI_LINT_VERSION: 1.48.0
TPARSE_VERSION: 0.11.1
jobs:
changes:
Expand Down Expand Up @@ -369,7 +369,7 @@ jobs:
- uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
with:
cache: true
go-version: 1.18.x # FIXME use ${{ env.GO_VERSION }} when golangci-lint supports Go 1.19
go-version: ${{ env.GO_VERSION }}
- uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc
with:
version: v${{ env.GOLANGCI_LINT_VERSION }}
Expand Down
9 changes: 4 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ linters:
- gosec
- gosimple
- govet
- ifshort
- importas
- ineffassign
- ireturn
Expand All @@ -46,7 +45,10 @@ linters:
- predeclared
- promlinter
- revive
- rowserrcheck
- sqlclosecheck
- staticcheck
- structcheck
- stylecheck
- tagliatelle
- tenv
Expand All @@ -56,6 +58,7 @@ linters:
- unparam
- unused
- varcheck
- wastedassign
- whitespace
disable:
- asasalint
Expand All @@ -81,13 +84,9 @@ linters:
- nonamedreturns
- nosnakecase
- paralleltest
- rowserrcheck # https://github.com/golangci/golangci-lint/issues/2649
- sqlclosecheck # https://github.com/golangci/golangci-lint/issues/2649
- structcheck # https://github.com/golangci/golangci-lint/issues/2649
- testpackage
- tparallel
- varnamelen
- wastedassign # https://github.com/golangci/golangci-lint/issues/2649
- wrapcheck
- wsl

Expand Down

0 comments on commit 8492677

Please sign in to comment.