Merge pull request #16022 from tao12345666333/clean-root-dir

ci: move .golangci.yaml to tools dir
dependabot/go_modules/github.com/prometheus/procfs-0.11.0
Benjamin Wang 2023-06-07 09:06:14 +08:00 committed by GitHub
commit faf5945603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ jobs:
uses: golangci/golangci-lint-action@5f1fec7010f6ae3b84ea4f7b2129beb8639b564f # v3.5.0
with:
version: v1.49.0
args: --config tools/.golangci.yaml
- name: protoc
uses: arduino/setup-protoc@149f6c87b92550901b26acd1632e11c3662e381f # v1.3.0
with:

View File

@ -86,11 +86,11 @@ verify-dep:
.PHONY: verify-lint
verify-lint:
golangci-lint run
golangci-lint run --config tools/.golangci.yaml
.PHONY: update-lint
fix-lint:
golangci-lint run --fix
golangci-lint run --config tools/.golangci.yaml --fix
.PHONY: verify-shellcheck
verify-shellcheck: