From 4f5d7d1830de72920896af97feca48b5939c4e03 Mon Sep 17 00:00:00 2001 From: Martin Hutchinson Date: Tue, 21 Mar 2023 11:03:00 +0000 Subject: [PATCH] Pin all usages of golangci-lint to same rule version (#2945) --- .github/workflows/test.yaml | 1 + CHANGELOG.md | 1 + README.md | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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