Update makefile, github workflow to use golangci-lint v2

Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
This commit is contained in:
Tyler Auerbeck 2025-05-08 01:32:33 -04:00 committed by Christian Mesh
parent ca72604301
commit 59fcdcd2b8
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,7 @@ jobs:
- name: "Code linting"
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
version: v1.64.5
version: v2.1.6
# Only compare with changes from when we introduced linting. Eventually we can get rid of this and lint the whole project
args: --new-from-rev dd5f9afe8948186c76fe6b8b1193d7a8f46919d8

View file

@ -47,7 +47,7 @@ protobuf:
# Golangci-lint
.PHONY: golangci-lint
golangci-lint:
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5 run --timeout 60m --new-from-rev dd5f9afe8948186c76fe6b8b1193d7a8f46919d8 ./...
go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6 run --timeout 60m --new-from-rev dd5f9afe8948186c76fe6b8b1193d7a8f46919d8 ./...
# Run license check
.PHONY: license-check