refactor: lint without revision flag (#2931)

Signed-off-by: Larry Bordowitz <laurence.bordowitz@gmail.com>
This commit is contained in:
Larry Bordowitz 2025-06-17 13:07:14 -05:00 committed by GitHub
parent ed6699f8c9
commit 782b817ff9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View file

@ -175,8 +175,6 @@ jobs:
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
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
- name: "Copyright headers"
run: |

View file

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