Skip to content

Commit

Permalink
ci: move .golangci.yaml to tools dir
Browse files Browse the repository at this point in the history
Signed-off-by: Jintao Zhang <[email protected]>
  • Loading branch information
tao12345666333 committed Jun 6, 2023
1 parent d3e43d4 commit 0f32b58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
File renamed without changes.

0 comments on commit 0f32b58

Please sign in to comment.