Skip to content

Commit

Permalink
upgrade golangci-lint to new version with better support for go1.24.0
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <andres@planetscale.com>
  • Loading branch information
systay committed Feb 14, 2025
1 parent efa30d4 commit 75d5e18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static_checks_etc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
- name: Install golangci-lint
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.go_files == 'true'
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.60.2
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5

- name: Clean Env
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.go_files == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ issues:

# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: 1.52.2 # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.64.5 # use the fixed version to not introduce new linters unexpectedly
2 changes: 1 addition & 1 deletion misc/git/hooks/golangci-lint
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.

# Required version of golangci-lint
REQUIRED_VERSION="v1.60.2"
REQUIRED_VERSION="v1.64.5"

# Function to compare versions in pure Bash
version_greater_or_equal() {
Expand Down

0 comments on commit 75d5e18

Please sign in to comment.