mirror of
https://github.com/opentofu/opentofu.git
synced 2026-02-18 18:17:54 -05:00
refactor: lint without revision flag (#2931)
Signed-off-by: Larry Bordowitz <laurence.bordowitz@gmail.com>
This commit is contained in:
parent
ed6699f8c9
commit
782b817ff9
2 changed files with 1 additions and 3 deletions
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue