diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 511ae5cc7e..e9dab05811 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,6 +19,7 @@ jobs: - uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0 with: + version: 'v1.50.1' args: ./storage/crdb unit-test: diff --git a/CHANGELOG.md b/CHANGELOG.md index 462c63d629..e4f8abfdd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Misc * Bump Go version from 1.17 to 1.19. +* Updated golangci-lint to v1.50.1 (developers should update to this version) ## v1.5.1 diff --git a/README.md b/README.md index 37071881c3..3c15e5f46a 100644 --- a/README.md +++ b/README.md @@ -214,7 +214,7 @@ and tests over the codebase. #### Install [golangci-lint](https://github.com/golangci/golangci-lint#local-installation). ```bash -go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3 +go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1 ``` #### Run code generation, build, test and linters