mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #16022 from tao12345666333/clean-root-dir
ci: move .golangci.yaml to tools dir
This commit is contained in:
commit
faf5945603
1
.github/workflows/static-analysis.yaml
vendored
1
.github/workflows/static-analysis.yaml
vendored
@ -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:
|
||||
|
4
Makefile
4
Makefile
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user